Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | NotADuck |
i, I tried creating a simple project and I exported an .apk but I cannot install it because it seems “damaged”, this is the output when I export the apk:
Godot Engine v3.0.6.stable.official (c) 2007-2018 Juan Linietsky, Ariel Manzur & Godot
Contributors.
Switch Scene Tab
FOUND versionCode
FOUND versionName
FOUND package
version number: 196608
Found manifest end
ADDING: AndroidManifest.xml
ADDING: META-INF/MANIFEST.MF
ADDING: META-INF/android.arch.core_runtime.version
ADDING: META-INF/android.arch.lifecycle_livedata-core.version
ADDING: META-INF/android.arch.lifecycle_runtime.version
ADDING: META-INF/android.arch.lifecycle_viewmodel.version
ADDING: META-INF/com.android.support_support-compat.version
ADDING: META-INF/com.android.support_support-core-ui.version
ADDING: META-INF/com.android.support_support-core-utils.version
ADDING: META-INF/com.android.support_support-fragment.version
ADDING: META-INF/com.android.support_support-media-compat.version
ADDING: META-INF/com.android.support_support-v4.version
ADDING: classes.dex
ADDING: lib/armeabi-v7a/libgodot_android.so
ADDING: res/drawable-hdpi-v4/notification_bg_low_normal.9.png
ADDING: res/drawable-hdpi-v4/notification_bg_low_pressed.9.png
ADDING: res/drawable-hdpi-v4/notification_bg_normal.9.png
ADDING: res/drawable-hdpi-v4/notification_bg_normal_pressed.9.png
ADDING: res/drawable-hdpi-v4/notify_panel_notification_icon_bg.png
ADDING: res/drawable-mdpi-v4/notification_bg_low_normal.9.png
ADDING: res/drawable-mdpi-v4/notification_bg_low_pressed.9.png
ADDING: res/drawable-mdpi-v4/notification_bg_normal.9.png
ADDING: res/drawable-mdpi-v4/notification_bg_normal_pressed.9.png
ADDING: res/drawable-mdpi-v4/notify_panel_notification_icon_bg.png
ADDING: res/drawable-v21/notification_action_background.xml
ADDING: res/drawable-xhdpi-v4/notification_bg_low_normal.9.png
ADDING: res/drawable-xhdpi-v4/notification_bg_low_pressed.9.png
ADDING: res/drawable-xhdpi-v4/notification_bg_normal.9.png
ADDING: res/drawable-xhdpi-v4/notification_bg_normal_pressed.9.png
ADDING: res/drawable-xhdpi-v4/notify_panel_notification_icon_bg.png
ADDING: res/drawable/icon.png
ADDING: res/drawable/notification_bg.xml
ADDING: res/drawable/notification_bg_low.xml
ADDING: res/drawable/notification_icon_background.xml
ADDING: res/drawable/notification_tile_bg.xml
ADDING: res/layout-v16/notification_template_custom_big.xml
ADDING: res/layout-v21/notification_action.xml
ADDING: res/layout-v21/notification_action_tombstone.xml
ADDING: res/layout-v21/notification_template_custom_big.xml
ADDING: res/layout-v21/notification_template_icon_group.xml
ADDING: res/layout/downloading_expansion.xml
ADDING: res/layout/notification_action.xml
ADDING: res/layout/notification_action_tombstone.xml
ADDING: res/layout/notification_media_action.xml
ADDING: res/layout/notification_media_cancel_action.xml
ADDING: res/layout/notification_template_big_media.xml
ADDING: res/layout/notification_template_big_media_custom.xml
ADDING: res/layout/notification_template_big_media_narrow.xml
ADDING: res/layout/notification_template_big_media_narrow_custom.xml
ADDING: res/layout/notification_template_icon_group.xml
ADDING: res/layout/notification_template_lines_media.xml
ADDING: res/layout/notification_template_media.xml
ADDING: res/layout/notification_template_media_custom.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
*******************GORRRGLE***********************
unicode error: invalid skip
unicode error: invalid skip
unicode error: invalid skip
unicode error: invalid skip
unicode error: invalid skip
ADDING: resources.arsc
exporting res://default_env.tres
0 param: --use_depth_32
1 param: --use_immersive
I only have one scene with one script attached, which is this one:
extends Control
var animator
func _ready():
animator = get_node("animator")
get_node("main/play").connect("pressed",self,"play")
get_node("main/settings").connect("pressed",self,"settings")
get_node("modes/back").connect("pressed",self,"exitPlay")
get_node("settings/back").connect("pressed",self,"exitSettings")
func play():
animator.play("mainToModes")
func exitPlay():
animator.play_backwards("mainToModes")
func settings():
animator.play("mainToSettings");
func exitSettings():
animator.play_backwards("mainToSettings");
Any idea on how I can fix this? Should I go back and use an older version of godot?
Have you tried publishing a empty scene first?
It could be a problem with your environment variables or even something as small as the license agreement.
Remember that Android games need a KeyStore and will not install without one.
There is so many things that this could be.
By trying a empty scene, you know it is a technical problem and not the game, if you still get the same error.
MysteryGM | 2018-09-26 23:08
I tried both changing the keystore and using an empty project (both with an empty scene and with only a label) and it still doesn’t work.
The game runs correctly on windows, I’ll try with an older version, if neither that works than I’ll try on a different OS
NotADuck | 2018-09-27 11:05
If you tried a empty scene and still have problems then you need to learn how to publish to android first; it isn’t as simple as you think.
Follow the Godot guide here in the link.
Exporting for Android — Godot Engine (3.0) documentation in English
Do it all step by step, no matter how silly it feels.
Also check that you update the SDK after downloading it. Also the jarsigner. Unless everything is updated you will experience problems.
MysteryGM | 2018-09-27 23:22