Recent

Author Topic: Where is * .apk  (Read 961 times)

Mathias

  • Jr. Member
  • **
  • Posts: 88
Where is * .apk
« on: March 28, 2020, 01:57:10 pm »
I built an Android cross compiler.
Everything seems to be running, according to the compiler message an * .apk is being built, only I can't find it.

Can somebody give me advise ?

The question refers to the following thread in the German forum.
https://www.lazarusforum.de/posting.php?mode=edit&f=3&p=113262

Code: Text  [Select][+][-]
  1. Nachrichten
  2. ......
  3. Projekt kompilieren, OS: android, CPU: arm, Ziel: /home/tux/fpcupdeluxe_android/projects/LAMWProjects/AppLAMWProject4/libs/armeabi-v7a/libcontrols.so: Erfolg
  4. Building APK (Ant)... : Erfolg
  5. Installing APK (Ant)... : Erfolg
  6. Starting APK... : Exit code 1, Fehler: 1
  7. error: device unauthorized.
  8. This adb server's $ADB_VENDOR_KEYS is not set
  9. Try 'adb kill-server' if that seems wrong.
  10. Otherwise check for a confirmation dialog on your device.
  11. Panic: tool stopped with exit code 1. Use context menu to get more information.
  12. Exception, Fehler: 1
  13. Fatal: [Exception] Failed: Cannot run APK!

rca

  • Jr. Member
  • **
  • Posts: 67
Re: Where is * .apk
« Reply #1 on: March 30, 2020, 02:50:17 pm »
From what I see in your log, in this part it says
"error: device unauthorized."

You must authorize USB debugging.
A message should appear on your smartphone
and select the option:
"Always allow from this computer"

This video explains it to you:
https://www.youtube.com/watch?v=0usgePpr8_Y

Thyphoon

  • New Member
  • *
  • Posts: 37
Re: Where is * .apk
« Reply #2 on: April 02, 2020, 03:49:41 pm »
Also, the apk is in folder "bin" in the proyect folder.

 

TinyPortal © 2005-2018