I followed the istruction to export an APK from four different video and the official Godot Dokumentation but when i open the APK on my phone, i have to accept the security warning, then it's loading with the text ,,Istalling..." and then there is the text ,,App not installed", and i only can klick on Okay.
Its very fustrading because i am trying to fix it since 4 Days and no one can help me, i reinstalled Godot, Android Studio and Java foure time and tryed everything again, but again ,,App not installed"
Pleas can someone help me.
Here is the Exported APK which can not be installed if anyone can do something with it:
Can't download without permission.
Hirsutism I think now you can download it
I could install it, but I get this error:
The Godot docs say:
If you get an error saying "Could not install to device.", make sure you do not have an application with the same Android package name already installed on the device (but signed with a different _key).
If you have an application with the same Android package name but a different signing key already installed on the device, you must remove the application in question from the Android device before exporting to Android again._
https://docs.godotengine.org/en/stable/tutorials/export/exporting_for_android.html
Hirsutism I don't think i have a other application with the same Android package name installed on my Phone, because thats my first project i (tryed) to export
Strange, sorry, I have no idea what the issue is. 😐
Hirsutism Yea thats my issue, i asked in Discord, i asked in GitHub and now here. I searched thrue the internet for a few hours, no one knows why i have this error
I don't know if this will help you but I had a similar issue the other day. Have you set up your Unique Name and Name in Export settings for Android?
If you have the default values for those properties it's possible you already have an app with that unique name in your phone (from previous tests, maybe?) and that is conflicting with your new test. Also. check that you don't have any apps in your phone that were generated by Godot (whenever you do a test in your phone, an app is installed).
Depot Yea i have a unique name, and i change it every time i export it, exactly because of that. I also tryed it right now on my dads phone, it also showed the error ,,App not installed"
I'd create a new blank project and try to export and install it, just to check if it's specific to this one project or if it happens with all of them...
Gone i am doing this the whole time, i am exporting an empty project. And right now i tryed installing Godot, Java and Android Studio on a other PC but also the error ,,App not installed". I'm starting to think about going back to Unity if it doesn't work for Godot because there you just have to click one fucking button, i tryed EVERYTHYNG now.
I Reinstalled everything several times, i followed different tutorials (inc. the Official Documantation from Godot), i tryed installing it on another phone, i tryed exporting it on another PC. This shit is driving me crazy!!!!!!!
Karl Weird :-( I'm guessing you reported this on Github already? Did you try installing some older versions of Godot, see if it happens there too?
Karl Have you tried it on a different phone? On my phone it was working. Maybe your phone is the issue?
Hirsutism I thought you couldn't install it either, because you also got an error
Gone yea i reported it, but they closed the report, because it is not Bug Report for the Godot Engine
Karl I could install it, but there was no main scene defined in the project. So the game shut down again. See screenshot I posted 2 days ago.
Hirsutism Which APK did you install, the one in my Google Drive? Because i tryed installing it on my phone and my dad's phone, both with the same error ,,App not installed"
Karl Yes.
Hirsutism I really don't know what to do now, some say they can't install the APK, some say they can. I have tried it on several phones with the same error.
That's strange. I'm using Android One 10.
Can you install my apk? I thought I test it too. I finally got export and signing working. Installing was possible too.
Your apk also works in my Android 8.1.0 tablet.
I'm having the same problem, I'm going crazy 😭.
I'm using Godot v4.1.2 (stable) and I have followed exactly as the documentation: Exporting for Android
When trying to install on my phone it starts a progress bar, when it is almost at the end it stops for few seconds and then show a message "App can't be installed"
Phone: Redmi 7A
Android Version: 10Q
Apk provided by Stonie didn't work on my phone, but the one provided by trizZzle (PineappleGame) did work on my phone.
Weirdly, in the version 3.5.3 of Godot, I exported without changing anything in the SDK packaged, and the game succesfully installed on my phone 🤔.
When possible I will test it on my brother's phone, anything I let you guys know.
Just tested in my brother's phone, and it's working!
The weird thing is that is the same version of my android (10Q). His phone is Redmi Note 8.
Probably is something with my phone, but the exported version from Godot 3.x worked just fine.
Files:
Minimal project (Mobile Test 3.zip) - Google Drive
The .apk file (Mobile Test 3.apk) - Google Drive
In github people normally ask to share the project files without the .godot folder, so I removed it from the minimal project.
I think I found a solution!
I tried installing the apk using adb command line and showed this error: INSTALL_FAILED_NO_MATCHING_ABIS.
So I searched around the forum and I saw a comment saying to try checking all the boxes in the "Architectures" in the export android window in Godot. And it worked! Now it is installing succesfully in my phone and also in my brother's phone.
Because checking all the boxes makes the apk much heavier in size, I saw in the documetation that arm7 and arm8 is sufficient for most phones today. Apparently when publishing a game in the Google Store it has support for multiple apk, each one for a specific architecture, but as I'm testing the game, only checking "armeabi-v7a" and "arm64-v8a" works fine.
If you're experiencing difficulty installing an Android APK on your phone, consider the following steps to troubleshoot the issue:
Unknown Sources: Make sure that your phone allows installations from unknown sources. To enable this, go to your device's settings, navigate to "Security" or "Privacy," and enable the "Unknown Sources" option.
APK Source: Ensure that the APK file you're trying to install is from a reputable source. Downloading apps from third-party sources can pose security risks. If possible, obtain the APK from the official website or a trusted app store.
File Corruption: Verify that the APK file isn't corrupted. Redownload the file from a reliable source to ensure its integrity.
Storage Space: Check if your device has sufficient storage space to accommodate the app. If your storage is full, it may prevent the installation.
App Compatibility: Confirm that the APK is compatible with your device's specifications, such as the Android version and hardware requirements.
Security Software: Some security or antivirus apps might interfere with the installation process. Temporarily disable them before attempting to install the APK.
Installation Errors: If there's a specific error message during installation, search for that error online. Forums and support communities often provide solutions for common installation issues.
Reboot Device: Restart your phone before attempting to install the APK again. This can sometimes resolve temporary glitches.
Install a Package Installer App: In some cases, installing a third-party package installer app from the Google Play Store might help facilitate the installation of APK files.
Check for System Updates: Ensure that your device's operating system is up to date. Outdated software may have compatibility issues with newer apps.
© 2022 - 2024 — McMap. All rights reserved.