Hi!
I have a problem.
I'm just started working with SDK Manager, and Eclipse.
I made an AVD, but every time, I'm want to use it, even in the Sdk Manager, even in the Eclipse (by Run something as an android project), I got the same error.
emulator: ERROR: no search paths found in this AVD's configuration.
Weird, the AVD's config.ini file is malformed. Try re-creating it.
What could be the problem?
I done everything just like as it writted down in the android developers.
Thank you!
Related
I'm not sure i have the right directory and i'm a newbie. sry.
But ive gotten to eclipse and preferences then android, but when i browse i dont know where my root directory is..
Once i thought i had it once but i was told that i was missing certain files..
I'd really like some help..
EDIT program Files\Sun\JavaDB\javadoc\jdbc4\org\apache\derby- the directory that i think works-)
Also when i browse for the root directory i get this message:"Error Parsing the sdk-( program Files\Sun\JavaDB\javadoc\jdbc4\org\apache\derby\platforms is missing"
Then after i exit out of the notification i get this " SDK Platform Tools is missing! Please Use the SDK Manager to install it."
And then after that one i get this: Failed to get required ADT version number from the sdk. The android developer tool may not work properly.
To install the ADT tools plugin you need the link from the android site for the repository.. then you go to preferences in eclipse and set android to the android sdk location.
not sure, but i think thats what you were talking about.
Is there a way to compile .java file to .class file and execute it
I wanted to compile c/c++/java programs, not for my phone but in my phone...
I searched but did not find an easy way for it.
At last I found out a real easy way to compile c/c++ by using adosbox for android.
I copied the turbo c 'tc' folder from my pc to my sdcard and used adosbox like command promt to go to 'bin' folder in tc and start tc.exe...
Then I could easily write and compile programs just like i did on the pc
But still no luck for java programs...
I copied the reqired java folder and then used adosbox to run the command "javac file.java" but it said "This Program Cannot Be Run in DOS Mode"
So if there is any other way to compile java programs in my phone
please help
Thanx in advance
Try looking at Eclipse, although Eclipse is a large desktop IDE, it includes its own Java compiler written in Java (in the part called "JDT core"), and if (as I hope) that Java compiler is not copyrighted by Sun/Oracle, you (or someone else already maybe) may be able to compile that part of Eclipse into a "native" Dalvik/Android App.
Googling the issue, I see that others have been asking for an Android port of Eclipse too, so maybe there will be some momentum going for this soon.
This is my first post as an XDA member. I apologize in advance for any thing I may miss in communication. I also appreciate every thing about this website and the people in it, being that now there are endless opportunities paved for modifying my cell phone.
I install java and jdk, also the adt bundle, and apk manager and had everything up and running perfectly. I even went through and changed the logo of an app, and the name of the app through the projects folder, after decompiling apk. then successfully recompiled the app, signed it, put it on my phone and it runs great.
However, I tried to decompile an another apk at a later time, and it errored. Then afterward the apk manager no longer worked properly. It will open up, I can select option 22, then select whatever I have put in the modded folder, but whenever I try to decompile or extract the apk, the apk manger automatically closes. I have tried uninstalling all java, and adt bundle and apk manager, and going through and redo all the pat variales. Still same result.
Here is the log:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------java version "1.7.0_10"
Java(TM) SE Runtime Environment (build 1.7.0_10-b18)
Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
Lost was unexpected at this time.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Here are my variables:
Variable Name: Variable Value:
ADB C:\AndroidSDK\adt-bundle-windows-x86_64\adt-bundle-windows-x86_64\sdk\platform-tools\adb
Path ;C:\Program Files\Java\jre7\bin
;C:\Program Files\Java\jdk1.7.0_10\bin
;C:\AndroidSDK
;C:\AndroidSDK\adt-bundle-windows-x86_64\adt-bundle-windows-x86_64\sdk\platform- tools
;C:\AndroidSDK\adt-bundle-windows-x86_64\adt-bundle-windows-x86_64\sdk\tools
;C:\Program Files (x86)\Java\jre7\bin
_______________________________________________________________________________________________________
My brain is racked, I have searched everywhere and no solution revealed to me, hence the post. Thank you in advance.
I've been trying to fix this for the last 48 hours, and it is driving me insane. There are a few other threads on xda about this, but they didn't fix my problem.
My SDK Manager.exe flashes a cmd screen and closes in less than a second.
After much searching, I finally managed to get my SDK Manager to open after adjusting android.bat, and running android.bat as administrator.
But, SDK Manager.exe was not able to find android.bat so I copied it into the android-sdk folder.
SDK Manager.exe is now able to find android.bat, but it is still briefly flashing cmd and then closing.
My PATH variable has my jdk java.exe directory as the first entry, and I have restarted and reinstalled several times.
What is causing this? Why am I able to open the manager from android.bat, but not from the executable?
I am trying to configure Eclipse to use the SDK Manager, but obviously I cannot because the executable refuses to open.
Eclipse is also telling me that adb.exe is missing, and upon checking platforms I have confirmed this. I assume adb.exe will be installed from the SDK Manager?
Thanks in advance for the help.
Edit: After thinking about it, I think the issue may be with the permissions of android.bat. It must be run as administrator in order to work, otherwise if opened regularly it will say "Access is denied".
Is it possible to change this? Looking in the properties of android.bat, I have adjusted my account to have full control. This has not affected the issue, though.
I got a little problem with Android Studio, it's the path of the setting-files that annoys me.
Android Studio puts two folders directly in my Dropbox folder, .AndroidStudioPreview and .gradle.
I absolutly don't want them there since they're getting synced every time.
The SDK Manager stored his files there as well, however I removed it over the User PATH Variable ANDROID_SDK_HOME.
Does anyone know how to change the settings-path of Android Studio?
Ok, I managed to remove .AndroidStudioPreview, but .gradle is still in there.
No one got an idea?
I already tryed the "GRADLE_USER_HOME" Variable but it didn't worked.
Hi! Same problem here..
Did you find a solution?
Solution for me: stackoverflow.com/questions/21362185/android-studio-creates-files-in-dropbox-folder-dropbox-androidstudiopreview#comment32325193_21362505
Delete
Try to delete this folder (firstly make backup). Maybe this work