When I got the build from the project, the game worked fine on all Androids. But the game crashes on Android 13! And it says that the program has stopped.
First, I said that the problem might be with the SDKs. I downloaded all the new SDKs, but the problem was not solved.
Then I said that maybe the project had a problem, and I created a new project and got the same build, but the problem was still not solved.
Then I said that maybe the problem was due to the Unity version, so I downloaded the latest version of Unity and made a build with it, but the game crashed again.
Then I said that maybe Unity couldn't build correctly, so I exported the project and built it in Android Studio. First, the apk size increased, but the game crashed again!
The project builds without errors, only when I enter the player settings and other settings; in the part that wants to load the maximum API and target, it says "getting API level..." When the API is loaded, several warnings are given in Unity! I think this could be the problem, but I haven't found any way to fix these warnings. I am posting here the screenshot of these warnings and the downloaded SDKs.
I would be grateful if someone could help me to solve this problem.
I am using Unity 2021.3.8.
Try out this one:
https://www.youtube.com/watch?v=fP1moOOWhrY,
It should solve your problems.
Related
I am creating my mobile game, But I have a minor problem, I use unity 2018 and when I build my game and I have it as an apk file, I can't run it on my phone, I have the latest android and I wanted to ask if it can be an old version of unity. when I click on apk it tells me that an error occurred while checking the file. Porblem is only with samsung, on xiaomy I can normal play my game. Thank you.
We need more information about your problem
But in general, you can try to check the plugin inside the game, most of the errors that happen after build are caused either by plugin incompatibility or an xml file error
I was running Android development on Eclipse fine for couple of months now.
But after the Android SDK update, I cannot add library to the project anymore. It just return the following screen. The Project Build Target is completly blank as shown. I COULD add the library but as soon as I hit OK, it would crash Eclipse (Eclipse becomes unresponsive, I have to end task manually)
I tried updating ADT, Android SDK and the problem persists.
Reinstall ADT doesn't help either.
As you can see in the second screen shot, Android SDK is still functional.
If anyone could help me out, I would be much appreciated.
Thank you.
After uninstalling and reinstalling android related components piece by piece. I found out the The problem is with newly update (corrupted Android API 19) which caused the SDK failed to load and display properly in Eclipse.
I removed the API 19 and redownload it from Google and everything works as expected now.
Thank you.
Good afternoon.
I have a project in which I use the Google Maps library. The project is realized with Eclipse and I never had any problems. Two weeks ago I installed the Android Studio and migrated my project. Since then, when I make the call to the map I get an error "java.lang.NoClassDefFoundError". At compile time everything goes perfectly but when I run it on the phone is when the error arises.
Thank you.
Try to create a new Android Application Project and copy the folders required from your previous project and run the application.
I too was facing a similar issue on Eclipse itself, and received Trgaet InvocationException and NoClassDefFoundError, for the same code which was correctly working for weeks.
Hope it works, although it is not a permanent solution.
This is my first time learning IBM Worklight, so please bear with me. I was following this tutorial, however i stucked in page 14, where the tutorial tell me to "run as android project" so the project will be run on android simulator.
This is the error i got :
Could not find HelloWorklightHelloWorklightAndroid.apk!
What should i do? I also have watched this video, and everything works fine in that video (no error like mine)
Thanks for your time, any help is appreciated :D
The answer is because a BUG in ADT 22. I need to upgrade the ADT to latest version and install Android Build Tools.
The way to solve this bug (and get things working )is in my another question (which share the same problem, because i use a same android sdk) :
Eclipse Juno/Android broken, the debug is wrong and gen folder not created (R error)
EDIT
After that, you probably will get CLASSNOTFOUNDEXCEPTION because (again) ADT 22, so you need to do (a little) more things in this IBM link
Clean the project and build it again it works.
After creating a new app engine connected android project it immediately generates errors in the build path of the generated client libraries. It suddenly happened in my other main project (that project has been working for quite some time) and after failing to solve it I created a new test project which has the same error from the start. I have tried cleaning the project, restarting Eclipse, even re-installing Eclipse... Any ideas?
Regards
See screenshots here:
(source: osmoel.se)
And
(source: osmoel.se)
It seems that Google has some issues with Cloudendpoints today after the release of the appengine sdk 1.7.7. There was another problem described here where cloudendpoint users could not see their APIS in the api-explorer (https://developers.google.com/apis-explorer/)
https://code.google.com/p/googleappengine/issues/detail?id=9167
Endpoints stopped working with proxy.html error
I believe this is the relevant issue:
https://code.google.com/p/google-plugin-for-eclipse/issues/detail?id=117