Exporting problems.

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Nick888

Is there a logical explanation for the follwing situations?

1)When i export my projects with the Android cable connecting on my PC and pressing the small android icon on the top of Godot next to the play button, then all projects play very well in my phone. When i disconnect the caple then if i try to run a game it doesnt run.

2)When i install on my device some projects from the cmd with the adb install -r .apk command, the most of the projects are installed successfully:

C:\Program Files\Android\Android Studio\bin\platform-tools>adb install -r kl.apk
Performing Push Install
kl.apk: 1 file pushed. 3.6 MB/s (25987025 bytes in 6.796s)
pkg: /data/local/tmp/kl.apk
Success

but two projects have a surpise for me:

C:\Program Files\Android\Android Studio\bin\platform-tools>adb install -r rrr.apk
Performing Push Install
rrr.apk: 1 file pushed. 3.8 MB/s (43461687 bytes in 10.823s)
pkg: /data/local/tmp/rrr.apk
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]

Yesterday i downloaded the APK MULTI TOOL and i succeeded to make installs for all the projects but today when i opened the APK MULTI TOOL again, because of my PC had two adb.exe i had serius problems after a while.So i deleted the APK MULTI TOOL.

Please guys any help here.I really start getting tired with all this situation one week now.

Thank you.

For #1: May be you enabled the Network Filesystem (Debug) for the problematic projects? Then those wouldn’t start up after the cable is pulled because they can’t get their files over network/usb anymore.
For #2: Is this for debug or release export? Did you check the logs (output window) for any errors? I.e. about signing?

wombatstampede | 2019-06-27 10:48

Thank you for your reply.

  1. In the first case you were right. I cleared it.

  2. In second case, indeed there is a bug at Output(if it’s a bug,i dont know really.I see it for the first time in my life.).This is the “bug”:

platform/windows/os_windows.cpp:2532-Condition ’ process_map->has(p_pid) ’ is true.returned:FAILED

and i don’t know really if this “bug” has a relative with the following when i try installing my project:

C:\Program Files\Android\Android Studio\bin\platform-tools>adb install -r rrr.apk
Performing Push Install
rrr.apk: 1 file pushed. 3.8 MB/s (43461687 bytes in 10.823s)
pkg: /data/local/tmp/rrr.apk
Failure [INSTALLPARSEFAILEDNOCERTIFICATES]

Nick888 | 2019-06-27 12:30

I thought that maybe this bug is created from the default_env.tres file . I thought to delete it but first i dont know where is it excactly and second i don’t know if it will create more ploblems.

Nick888 | 2019-06-27 13:13