Since i updated the android sdk manager, installed the android 4 api and updated the eclipse android plugin im not able to compile my apps any more!! Even a reinstall of the plugin and the android sdk didnt help!Everytime i try to compile one of my apps there only appears the message "your project contains errors" and this text on the console: Unable to execute dex: Multiple dex files define Landroid/support/v4/android/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;
Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Landroid/support/v4/android/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;
"conversion to dalvik format failed with error 1".
Does somebody know what i can do now? Thats really bad!
Regards Fleckdalm
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A
Oh, sorry i didnt knew that!
For everybody who has the same problem: i fixed it downloading v15.0.1 from here: http://tools.android.com/download
now everything works again
Regards Fleckdalm
Related
for those who dont understand this stuff plz dont rply
hey guys! theres a little problem with me while setting up the kitchen
i have jdk installed but when i rum "./menu" command in cgywin it says jdk not installed.......so i referred to the solution by dsixda and yes it worked...i got no more no jdk installed error.....but instead i got a new error
""The application 'clear' is not installed. The kitchen will not function properly without it. Refer to the FAQ for the HTC Android Kitchen at xda-developers.com for assistance on installing the binary for 'clear'.""
i know the clear package is supposed to be installed from ncurses package but it dont work
theres a solution for this problem too in dsixda thread but but the jdk solution and this solution both says to add a line in bash script at the *end*line
so the problem is if i add the clear package line to the end line then the jdk stops workind and displays teh earlier error
I recommend to install ubuntu, its like a custom ROM
No need to use Cygwin then, and never have errors
Greets!
Hello all,
I am a newbie facing a little issue.
Previously I had a running set up of Android 2.2 with eclipse.
Two days before I had started the SDK manager within SDK, and update and install my existing SDK.
I am able to take new updates for Android 2.0 to 4.0.3, but because of this eclipse showing me some strange errors like
"Could not find G:\sdk\tools\adb.exe!" .
I made search for this on net they said I need to give the path of platform-tools instead of tools,
How can I set the path when I suppose to give the path till SDK only ?? (Here I am getting confused)
I had given the two paths in the path environmental variable, but problem remains the same.
Please if any one can help me on this issue, since I want to use the other versions greater than 2.2.
If you don't want to modify the path you gave in eclipse, just copy and paste the contents that you have in 'platform-tools' folder to 'tools' folder (choose replace if any prompts appear).. this worked for me..
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
The thread at:
http://forum.xda-developers.com/showthread.php?t=1340852&page=3
contains a question relating to the Android application TerminalIDE and the following error message:
Dalvik VM unable to locate class 'com/spartacusrex/spartacuside/external/javac'
java.lang.NoClassDefFoundError: com.spartacusrex.spartacuside.external.javac
This issue wasn't resolved in the thread. I found the thread on Google when I had the same problem. Now that I have found a solution I thought I would post it in the hope that others who have the same problem also find it helpful. Unfortunately I'm not allowed to post to the original thread as I haven't posted 10 posts. I expect that this post will be deleted by moderators on the basis that it should be in the developers section, in which case I will give up trying to be helpful to others and go back to my usual selfish ways.
In my case, the above error only appeared when using TerminalIDE via ssh and not when using it directly on the Android device. The solution that worked for me was to amend the BOOTCLASSPATH environment variable. I added the following line to my .bashrc file in the home directory (/data/data/com.spartacusrex.spartacuside/files), then reconnected:
Code:
export BOOTCLASSPATH=/data/data/com.spartacusrex.spartacuside/files/system/classes/android.jar:/system/framework/core.jar:/system/framework/apache-xml.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/core-junit.jar
For some reason, the BOOTCLASSPATH variable, when connecting via ssh, wasn't the same as that when using it directly on the Android application. The above setting is the value when using it directly on the Android application.
*RESOLVED*
ive searched to no prevail. id like to start developing apps but am having issues getting the environment set up. i have the jdk properly installed.
issue 1 (main \ major ):
ive installed the android sdk from multiple sources, but when i try to start sdk tools, the command prompt flashes/ opens briefly and i get this message:
"Failed to execute tools\android.bat:
The system cannot find the file specified."
do i need to change a PATH variable or something...
issue 2:
i cannot get eclipse to run. when i try to open the exe file ( because there is no short cut icon...?) it gives a message about not finding a companion library... ive try to change the properties in the file that is supposed to fix it, but it was already set the way its supposed to be. this is not major as i can use a different IDE.
so im completely lost as to th sdk tool. any help would be appreciated!
edit:
i just tried adding the file path to the android sdk ( PATH variable) and it still did not work... :/
i also just tried start the android,bat file and the cmd promt flashes briefly saying somthing about xcopy is not an operable command...etc couldnt read all of it...
btw im on windows 7 home premium
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
Check if this can help you.
Actually, you don't need to configure environment variables. You only need to install Java SE, and Eclipse and Android SDK should work fine.
RoberGalarga said:
Check if this can help you.
Actually, you don't need to configure environment variables. You only need to install Java SE, and Eclipse and Android SDK should work fine.
Click to expand...
Click to collapse
well eclipse wont install either, it cant find some companion library.all i curently have is the java jdk and an IDE called intelliJ idea or something like that, nothing else will install...i had to add an environmental variable to get the java jdk to work on cmd. if you could give links to any files your using that would be of help. , that is if your on windows 7
Sure...
Eclipse
Android SDK
Follow the indications of my previous link
Word of caution
I hate to discourage anyone from following their hearts desires especially when it comes to software development. But I wanted to share some advice with you coming from an experienced software engineer. I've been developing software for over 15 years. My experience comes mainly from developing Windows desktop applications in C/C++. I've also been developing software using Java for several years so I'm by no means new to Java technology or development tools.
I've only recently started to develop for the Android platform. It didn't take me long to get started (i.e. get the development environment setup and start developing using the AVD manager) but as I dig into it I'm finding that the Android platform has become very much like developing Windows applications which is interesting to find because I really haven't done a lot of user interface development using Java. In the past my Java development projects have always been more back end server integration related to App Servers and database integration (i.e. Apache/Tomcat, JSP, Oracle, etc.).
I have seen user interface development libraries in Java such as Swing in the past but haven't had a real need for them. So to tell you the truth I can't say how much better or worse the Android SDK user interface libraries are than the traditional JDK 1.4 libraries.
All of this is to say that when I say this you know it's coming from someone that isn't just learning how to program. My advice to you is that if you haven't done much Java development in the past that Android development is not the place to start. You might want to start with the basics first like just setting up a simple Java program and learning the technology first before you jump head long into something.
I've done that more times than I can count in my long career and I can tell you from experience it's the surest way to fail before you get started.
thanks but...
RoberGalarga said:
Sure...
Eclipse
Android SDK
Follow the indications of my previous link
Click to expand...
Click to collapse
i tried to use those files, but still the same problem, they wont launch/ install...in your post it says to launch them from the folder, correct...? the problem is, THEY WONT LAUNCH AT ALL...no UI for anything, just a quick flash of the cmd window for both of them and a pop up window for eclipse...
***i wasnt yelling, just frustrated...
First. DELETE EVERYTHING FROM DOWNLOADED FILES TO EXTRACTED FILE GET RID OF ALL OF IT then clear trash can.
THen ensure the JDK is successfully installed by opening command prompt and typing "java -version" you should have build 1.7 or higher. If not, you may download it here http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u4-downloads-1591156.html
Download this http://developer.android.com/sdk/index.html and pick the one that has "Recommended" next to it.
after you have that downloaded. FOLLOW THE STEPS BELOW TO A T! NO SHORTCUTS WHAT SO EVER!
Then once everything is downloaded. simply FOLLOW ME again TO A T! and if you follow that you should get everything working. And seriously, FOLLOW IT TO A T! do not take shortcuts do not try to do more than one thing at a time just take it step by step. I had no problems getting it up and running by following that last link.
Hope that helps and BE PATIENT you will get to play around soon enough
elesbb said:
...Then once everything is downloaded. simply FOLLOW ME again TO A T! and if you follow that you should get everything working. And seriously, FOLLOW IT TO A T! do not take shortcuts do not try to do more than one thing at a time just take it step by step. I had no problems getting it up and running by following that last link.
Hope that helps and BE PATIENT you will get to play around soon enough
Click to expand...
Click to collapse
thank you very much. i have what i need now, although i think i figured out my problem...stupid me was viewing the archive for eclipse instead of extracting the files to a separate folder, where the shortcut appeared!. thank you as it was your instructions that led me to my problem.
tripartist1 said:
thank you very much. i have what i need now, although i think i figured out my problem...stupid me was viewing the archive for eclipse instead of extracting the files to a separate folder, where the shortcut appeared!. thank you as it was your instructions that led me to my problem.
Click to expand...
Click to collapse
hahaha!! Sometimes all we need to do is slow down and look at whats infront of us xD glad you got it figured out!
Samsung Galaxy S II not recognized on PC
I want to sync my PC with my Samsung Galaxy Skyrocket and put music on it, but the PC won't recognized the phone.
I have tried downloading and installing the driver, Kies, etc and still get the same error.
Can someone help me??
android.bat still not present
I went to the sdk site to download. I ran the exe file, says that it couldn't find the tool\android.bat file. Please help
Q&A for [GUIDE] Genymotion | Installing ARM Translation and GApps[Updated Nov.16]
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer. Thanks for understanding and for helping to keep XDA neat and tidy! :smile:
NoTengoBattery said:
Hi guys! I recently installed Genymotion because I can not buy a Android phone and I needed CamScanner, but I realized that it was closed immediately after opening. As necessity is the mother of invention, I created a special flashable zip that solves many (really do not know how many) problems of incompatibility. Here is the YouTube video as proof. I'm not sure if I can post the file here. When I know that I can post it, I will create a exclusive thread for this. Please comment on the video. If it worked for you, nothing costs you press the thanks button and leave a review on YouTube.
Hope it works!
http://youtu.be/dXO9KCLk7pU
---------- Post added at 11:23 PM ---------- Previous post was at 11:15 PM ----------
Please, ensure that you're using the right file. Refer to this thread: http://forum.xda-developers.com/showthread.php?t=2163974
I've the same problem but folowing the instructions I can solve it.
Hope it works!
Click to expand...
Click to collapse
Nice work dude, every app i tried now works. Thanks.
Genymotion cannot install google play.
so it copys the zip from http://forum.xda-developers.com/showthread.php?t=2528952 to downloads i can open said zip with my pc so it isnt corrupted. however it will not auto extract to the system folder nor can i extract them via the file explorer it says that there isnt any app assigned to that file extension... anyone got a simple apk i can install for it..... o.e
Noticed there is another version of online called Genymotion-ARM-Translation_for_amd_phenom.zip (its file can be found in some google drive), is this better for AMD systems or should we continue with Genymotion-ARM-Translation_v1.1.zip ?
Edit: Nevermind just noticed the dates of files in archives of ARM for AMD seems to be from 2008 while ARM v1.1 is from 2013.
HELP
WOW THIS IS NOT WORKING AT ALL..
This forum makes it very difficult for new users to express issues,
here is image screen shot of the problem when trying to do genymotion:
i [dot] imgur [dot] com/xERI0tt [dot] png
IT TELLS ME "files successfully copied to: /sdcard/Download" DOES NOT ALLOW ME TO FLASH ANYTHING
BRICK WALL!
Genymotion-ARM-Translation_v1.1.zip
FILE IS NOT CORRUPT
Followed step by step, I am at a brick wall I have been trying to do this for 4 hours now, very frustrating. I must of read and searched through google
of 900 threads of people having the same problem and no luck.
Why is this so difficult?
Thread after thread of people with the same problem are going ignored.
I do not have Root Manager or $3.99 to buy it..
Is there a simple fix or work around for this, it seems a lot of people have this problem and no solution!
bump
I waiting Android 5.0 from genymontion :3
Failed flash
Hi,
i have the same problem as guy above my post (i cant qute his post because my account here is new or something...)
Problem:
I install Genymotion
download ARM translator and gapps for my specific version of android
start VM , drag and drop there translator. Then "yes" i want to flash it.
after while "of tansfering file" it writes: FAILED TO FLASH....
Thats all. I tried all other versions of Systems(APIs) in Genymotion. But it shows eerytime the same error
I didnt download Android SDK, i just downloaded the latest version of Genymotion from andy page.
If some kind soul helps me with it(even through Teamviewer)i will give some reward
Genymotion & arm translation on kitkat
We know that genymotion arm support is buggy on kitkat because there is no real zip package support for kitkat.
But I have seen that the Tesco hudl 2 in the UK is x86 based and runs on kitkat !
So if someone in the UK having access to a hudl could dump the libraries, we should be able to add real arm support to genymotion images?
GEnyMotion (Failed to flash Genymotion-arm-transaltion.1-1.zip)
When i tried to drag and drop ARM file
it asking ok to flash but after that it showing Failed to flash Genymotion-arm-transaltion.1-1.zip
Thanks for sharing this information. This is really informative and useful info. I like to share with my friends.
Is this working in version 2.3.1?
When I drag and drop the files it directly goes to the downloads folder in the emulator. No pop up saying flash or something only copied to downloads folder
Help with genymotion and andy emulator
Hi everyone, I have been trying to get genymotion and other android emulators to work on my computer but it doesn't seem to be working. I'm using oracle virtual box 4.2.12 and the lastest genymotion and andy. I have tried the arm translation pack for geny as well but most of the programs that are even the slightest bit graphic more graphic intensive then plain text stop working as soon as it open. With genymotion it force closes them upon opening and Andy simply hanging on a black screen for hours. I have tried both methods of pushing apks and downloading them from the playstore. I have also attached the catlog for a few of the apps that crashed. Can anyone tell me how to fix it?
Help genymotion
Help every time i try to get the gapps folder on it just said failed to transfer, trying to get google apps to download brave frontier
Genymotion Arm Translation Failed to flash file
i tried to flash Arm Translation for several days until now i still can't make it work. Any suggestions please!
flash fails
when i try to flash the files it says it it fails to flash the files
i use genymotion for emulator in eclipse, so i setting genymotion adb to adt-bundle/sdk.
i need google service so i install arm and gapss, )when install (drag and drop) arm succes, but when install (drag and drop) gapss always failed.
why gapps always failed to flash?
sory ny english bad
process failed to start
im experiencing problems with the transfer of the ARM translation,i dragged it ot the screen, but it just keeps saying something like process failed to start or something, can anyone please help me?
probleme to install google play in Genymotion
hi everyone
i have installed Genymotion and add a (Custom Tablet - 4.4.4 - API 19 - 2560x1600) anyway, everything is ok but i needed to install game so i downloaded the obb + apk files but in the end i failed to install the game so i need to install google play to download and run the game.
i download the (ARM Translation Installer v1.1) and install it without probleme and download the gapps "Google Apps for Android 4.4"
and also i tried this => a_gapps-modular-pico-5.0.1-RC3-20150201-signed.zip from here (Click Here)
probleme :
1/ when i Drag&Drop the gapps it says => file copied in sdcard/download !!
2/ it will be helpfull if there is a way to install the game and app with obb+apk file wich means => without google play
the installation of ARM and Gapps on my windows7
Hi Dear. I have problem to install genymotion gapp on my windows 7. It keep showing the same messages. can you please help out i really need some help. Here I'm sending screen shoot of the error. Thanks so much to read my request.