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.
Related
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.
I have an issue with pdf tron sdk integration I 've tried alone and that did not worked so i tried to run one of their samples but I ve always had 5 failed to resolve file error. They're documentation is not easy to read AND I did not undersand how to integrate their sdk via gradle or manually (I ve tried both). So If some one Had fully integrated their sdk I hope if they could send me a git hub repositorie or help with my issue.
ps : I am on android studio 3.0.1
this is a screenshot: the error
To get the project running, you need to click Build -> Clean Project as described in step 4 of the tutorial: https://www.pdftron.com/documentation/android/guides/faq/run-in-android-studio/
I already find my problem here but I can't ask for help. My problem is same as here: Unity3D - Failed to re-package resources | Android APK and I tried everything, I downloaded new SDK from link, removed spaces but still nothing.
Please Help,
best regards,
Sasa Grujic
I was having the same issue as you. I tried everything and ultimately I rollback to an older saved version of my project.
My advice is to check all plugins and sdk you are using because you may be using an older/newer version and is causing you problems.
Anyway, can you paste the console log? the full message. I may be able to help you.
Regards.
I've solved this problem, for myself at least.
First I tried to remove unity and android sdk and install everything again, but it didn't work. Then, after some time not using it, I erased everything that has any bound to unity or android sdk and install it again. After that (this is what, I think, solved the problem) I went to Windows device manager and found my phone and updated driver automatically.
I hope this will help someone with same problem.
I'm stuck with trying to make Apache Cordova work in Visual studio 2015 Enterprise update 2. It is not seeing android and java. It refused to install Android setup 19 and 21.
I instead android studio and from there, installed API level 19 and 21, but visual studio is still not seeing it.
After creating a new project, when I click on debug, I get this error message:
debugging error message
I have tried so many other options, from google. like Tools->Options->Project and Solutions, I cannot find JavaScript option to set JDK and SDK paths.
Pls any help will really be appreciated. I'm a newbie to mobile app development.
Thanks in advance
Sorry for my late reply. I decided to install visual studio 2013 Professional, and update 5 too (although the update stopped midway due to poor internet connection) to see if it will help, somehow it did. I'm now able to set the paths for android.
When I tried running hello world now, the error message is " Failed to fetch platform android" - getaddrinfo ENOENT - File MDAVSCLI.
I'm really tired of all this!! Pls help.
Wow it is working now. I tried installing npm and bower globally from cmd. Then I cleared Cordova cache from Tools->Options. And with my internet connected, I ran the Hello world again. It went through this time.
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.