One click deploy was working for version 3, but TRIED and fails in 3.1.1 Stable

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

I’m including the bottom section from output, showing the only apparent errors of any kind in the process. ADB connection confirmed. Ditto for adb.exe path, jarsigner, debug.keystore (regenerated many times during attempts to fix).

Appears to generate, says installing, progress etc. But when “finished”, this is the output, and program does not show on tablet.

Using default android template. Also tried a new project with a single sprite on single scene, just in case was content issue.

Spent three hours on this last night til two in morning, very frustrated!

ADDING: res/layout/notification_template_icon_group.xml
ADDING: res/layout/notification_template_part_chronometer.xml
ADDING: res/layout/notification_template_part_time.xml
ADDING: res/layout/status_bar_ongoing_event_progress_bar.xml
Unicode error: invalid skip
Unicode error: invalid skip
Unicode error: invalid skip
Unicode error: invalid skip
Unicode error: invalid skip
Unicode error: no space left
ADDING: resources.arsc
0 param: --use_depth_32
1 param: --use_immersive
Uninstalling previous version: Amazon KFDOWI
Installing to device (please wait…): Amazon KFDOWI

:bust_in_silhouette: Reply From: LionH

seems to be the jarsigner failing…

:bust_in_silhouette: Reply From: LionH

Ok, it works. It was my fault. For those who have the same issues, here how to proceed:

(Keep in mind that it is for Debug only, not for production!)

create the keystore

keytool -genkeypair -alias androiddebugkey -keypass android -keystore debug.keystore -storepass android -dname "CN=Android Debug,O=Android,C=US" -validity 9999 -sigalg MD5withRSA -keyalg RSA

update the export config
Export->Options->Keystore:
Debug The path to your debug.keystore just created
Debug user androiddebugkey
Debug Password android

In case you still have problem, you can manually sign the jar:

jarsigner -keystore debug.keystore -storepass android -keypass android ../graviland.apk androiddebugkey