Android SDK emulator problem - Android Software Development

Hello,
When I start the emulator I get the following 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.
Click to expand...
Click to collapse
Do you have any idea why this happens? I tried using several Target Names, downloading sdk again but the problem remains.
Can you post your config.ini?

Related

[Q] Error: adb is not recogzined as an internal or external command

Error: adb is not recogzined as an internal or external command, operable program or batch file???
i successfully installed the android sdk 08 and still got this message.
Has winxp, tmobile GT
I had this same exact problem, but I was just able to get it working. First, this website is helped a lot:
http://www.londatiga.net/it/how-to-use-android-adb-command-line-tool/
Also, make sure you download the Java SDK package from the link given on that website.
Second, when the website says to "Run Windows command line tool (cmd) and go to D:\android-sdk-windows\tool" open command prompt and enter this code:
cd (enter the path to where the android SDK was installed), for example:
cd C:\android\android-sdk-windows\platform-tools
Notice how I entered "platform-tools" instead of just "tools" because this is the folder where the adb file is download with the android SDK. After you do this, you should then be able to apply adb codes (make sure the screen on your tab is on because you will have to accept superuser prompts, therefore your tab needs to be rooted).
Every time you open command prompt, you will have to enter:
cd thentheplacewheretheandroidSDKisinstalled
as stated above before you are able to enter adb commands.
Hope this helps!
@caveman999 is giving good advice. Working in the command window is weird to those who did not use old pc-dos environment.
You have to be in the tools directory or you have to edit your PATH in windows so you can use adb from any prompt.
thnaks for both of you guys i installed the java jdk and also specified the path in environment variables but still error message!
I could only get adb to work error-free when I was in the same directory as adb.exe program. Just change directories cd..(enter) etc until you are in that directory.
tabing said:
Error: adb is not recogzined as an internal or external command, operable program or batch file???
i successfully installed the android sdk 08 and still got this message.
Click to expand...
Click to collapse
I had the same error, until I downloaded and placed the .adb files accordingly.
Source: http://theunlockr.com/2009/10/06/how-to-set-up-adb-usb-drivers-for-android-devices/
"UPDATE: If it says adb not found or something similar, download the ADB files and extract them into the Tools folder of the SDK (they were taken out by Google in the R08 version for some reason and need to be put back)."
download adb files from here: http://www.megaupload.com/?d=RTEY0Q97
The important thing is to put the files really under the "tools" folder.
When you check out above Source I am sure your problem will be solved
Thank you all problem solved
tabing said:
Thank you all problem solved
Click to expand...
Click to collapse
Glad to here it. Why not hit a few thanks buttons?!

[Q] Requiring apk multi tool

Guys, when i opened apk multi tool, it used to give me the error "java was not found". So i changed the PATH to C:\Program Files\Java\jdk1.7.0\bin... Now it gives the error "adb not found". I searched the internet but couldn't find a solution. Could someone please help me??
Sent from heaven!
You need the Sdk Platform-tools.
download it in sdk manager.
EliTSamsunG said:
You need the Sdk Platform-tools.
download it in sdk manager.
Click to expand...
Click to collapse
I already have them!
I installed them about a month ago...
Sent from heaven!
nope...apktool is not inside that sdk.
Re-install /update ur SDK ............ Check Ur PATH ..
anasdcool71 said:
Guys, when i opened apk multi tool, it used to give me the error "java was not found". So i changed the PATH to C:\Program Files\Java\jdk1.7.0\bin... Now it gives the error "adb not found". I searched the internet but couldn't find a solution. Could someone please help me??
Sent from heaven!
Click to expand...
Click to collapse
I was also testing the new version of apk multi tool yesterday and I found out to be very buggy. The solution to your problem is to copy these files from the platform-tools of sdk:
adb.exe
AdbWinApi.dll
AdbWinUsbApi.dll
to the platform-tools folder of apk multi tool.
hell_lock said:
I was also testing the new version of apk multi tool yesterday and I found out to be very buggy. The solution to your problem is to copy these files from the platform-tools of sdk:
adb.exe
AdbWinApi.dll
AdbWinUsbApi.dll
to the platform-tools folder of apk multi tool.
Click to expand...
Click to collapse
Thanks....it worked!
Sent from heaven!
Guys, when i opened apk multi tool, it used to give me the error "java was not found". So i changed the PATH to C:\Program Files\Java\jdk1.7.0\bin... Now it gives the error "adb not found". I searched the internet but couldn't find a solution. Could someone please help me??
CAN YOU PLEASE HELP WITH SETTING THE VALUE FOR JAVA , I HAVE WINDOWS8X64 AND JAVA RE 8.31 , I TRIED TO CHANGE THE VALUE IN SYSTEM VARIABLES BUT NO LUCK, ANY HELP PLEASE THANX
JimmyMX said:
Guys, when i opened apk multi tool, it used to give me the error "java was not found". So i changed the PATH to C:\Program Files\Java\jdk1.7.0\bin... Now it gives the error "adb not found". I searched the internet but couldn't find a solution. Could someone please help me??
CAN YOU PLEASE HELP WITH SETTING THE VALUE FOR JAVA , I HAVE WINDOWS8X64 AND JAVA RE 8.31 , I TRIED TO CHANGE THE VALUE IN SYSTEM VARIABLES BUT NO LUCK, ANY HELP PLEASE THANX
Click to expand...
Click to collapse
Have you installed the Android sdk?
Adb is part of that package - make sure you installed all the required tools
Anyway you can just follow my apktool guide link in signature
ADB is not required for decompiling - Just pulling & pushing files if the phone supports it & logcats etc

[Q] How to update ADB to newest version

I can't seem to upgrade my ADB from 1.0.29 and therefore ADB won't connect to my phone... really weird. I have been googling it for about 45 minutes and can't seem to get anything to work... I have the Android SDK manager that I launched and updated the "Android SDK Platform-tools" but its still not updating my ADB versioin?
Found This
This is my problem I think...
"It turns out I had my ANDROID_SDK_HOME environment variable pointing to an old location which no longer existed. It hadn't caused any other problems (strangely) but it appears to have been preventing the RSA authentication process from happening. Probably should've seen it when I was checking the PATH variable the other week, but never mind.
I found the strange location by running the following and checking the readout:
adb kill-server
set ADB_TRACE=all
adb nodaemon server
After updating the location and restarting my PC, it's now working just fine. Thanks to all who responded."
How do I change my ANDROID_SDK_HOME environment variable?
in_dmand said:
This is my problem I think...
"It turns out I had my ANDROID_SDK_HOME environment variable pointing to an old location which no longer existed. It hadn't caused any other problems (strangely) but it appears to have been preventing the RSA authentication process from happening. Probably should've seen it when I was checking the PATH variable the other week, but never mind.
I found the strange location by running the following and checking the readout:
adb kill-server
set ADB_TRACE=all
adb nodaemon server
After updating the location and restarting my PC, it's now working just fine. Thanks to all who responded."
How do I change my ANDROID_SDK_HOME environment variable?
Click to expand...
Click to collapse
The questions I had were: Why is my ADB not updating from 1.0.29 to 1.0.31 and why is my RSA fingerprint not working when I plug my USB into my phone?
Just to give an update in case someone else google's this or is curious... this is what you have to do... (at least in Windows XP)
I found that I had an old version of ADB under an "Android" folder on my C:\Program Files. This was the problem and what I did to fix it. First of all, after I made sure I had the correct version actually downloaded through Android SDK Manager (it was downloaded to C:\Android SDK folder I believe).
right click on "My Computer" and click on "Properties". Then click on "Advanced" and click on "Environment Variables". Once in here, you need to double click on "Path" under the "System Variables" and fix the last part of it to point to where your updated ADB is by adding ;c:\ and then whatever directory/folder it is in, i.e. ";c:\Android SDK". Then you will need to click on "New" under the "System Variables" box and add "ANDROID_SDK_HOME" as the Variable name, and then your variable value will be the folder where your updated ADB file is (i.e. C:\Android SDK). Note: I also deleted my old "Android" folder under my program files. Now I am updated and everything is working fine!

bad configuration /etc/vold.fstab

Hello, I have a fairly big problem
I played and I changed the file /etc/vold.fstab by which I can not switch on the phone, does not work well wipe data / factory reset and upload a new rom (while uploading gets an error invalid ota package missing scatter installation aborted)
if there's any possibility to change this file?
Changing the adb push does not work because I do not have an active debugging, I have no further access just like the android system recovery.
Please help
edit1:
adb push recovery.img /data/local/tmp/recovery.img
error: device not found
adb devices
List of devices attached
Click to expand...
Click to collapse
but if i click apply update from adb i get
adb devices
List of devices attached
0123456789ABCDEF sideload
adb push recovery.img /data/local/tmp/recovery.img
error: closed
Click to expand...
Click to collapse

[Q] Unable to start the emulator

Hi,
I'd like to develop for Android using Qt5. I installed the SDK and the NDK, set the AVD up and tried to launch the Emulator.
If launching the x86_64 machine, the emulator's display is blank (there's only skin).
If launching the x86 machine, I only have the android logo blinking without any progress.
Command line gives the log
Code:
$ ./emulator -avd Androidx86
emulator: WARNING: Host CPU is missing the following feature(s) required for x86 emulation: SSSE3
Hardware-accelerated emulation may not work properly!
emulator: ERROR: _factory_client_recv: Unknown camera factory query name in 'listZ'
emulator: ERROR: _factory_client_recv: Unknown camera factory query name in ''
Killed
The camera is disabled, though. The emulator fails to work no matter if there's snapshotting enabled or not, the same for the "Host GPU" option.
Why does it refuse to work? I'm using Linux Mint 17 with MATE.
check if you setup the right path to the SDK
mlabouardy said:
check if you setup the right path to the SDK
Click to expand...
Click to collapse
I didn't set the path at all. I simply `cd`-ed to the sdk directory and ran the emulator
marmistrz said:
I didn't set the path at all. I simply `cd`-ed to the sdk directory and ran the emulator
Click to expand...
Click to collapse
Search for tutorial "how to set environment variable for SDK path", depend in your machine. Good luck.
Sent from here to there

Categories

Resources