Related
I've read the other threads about this but there is no help to be found there unfortunately.
I've been playing with App Inventor because I wanted to avoid learning Java but my think now is that seeing as I do JavaScript/PHP/mySQL and HTML/CSS anyway I might as well do my app development properly.
I've been following the instructions at the official developer.android.com site.
and the part where I have the problem is with Eclipse - at step 1 on that page. I've installed the JDK but when I try to install Eclipse I get an error telling me that there is no Virtual Java machine in the eclipse\jre\bin\ folder.
Well I'm following the instructions so what can I do about this? I don't even understand the error. Is there supposed to be a file in this folder, a folder which a.doesn't come with the standard Eclipse .zip file and which b.doesn't exist at all!
I tried this all before some time ago and got the same problem. At that time I couldn't even use App Inventor because of some JDK/JRE problem but I un-installed and reinstalled Java and App Inventor is working now.
This is one of the most frustrating computing problems I've faced because I've searched all over for an answer and there is nothing out there. Frankly I'm a little surprised at how poor the installation documentation is
The only thing I can think of is I have the wrong version of Eclipse. Which exact one is everyone else using?
Hello Subjective Effect. There is not a folder named eclipse\jre\bin in eclipse installation folder. The version i m using is eclipse-helios. I was not faced the problem you have.
I've solved that part of the problem by downloading a different version of Eclipse. It is a Helios version and is the one with Java. The installation instructions are not clear on this.
I now have another issue but I'll try work that out for the time being.
So I've no idea (again because the instructions are so poor) what to do about this.
I'm on the Android Developers site and trying to start the Hello World tutorial. I'm already stumped at the stage of creating a New Project because after I set up Project name, Application name, Package name and Create Activity clicking "Finish" gives this error:
[2010-10-28 01:33:03 - HelloAndroid] ERROR: Unable to open class file C:\workspace\HelloAndroid\gen\com\subjectiveeffect\helloandroid\R.java: No such file or directory
The reason I think the docs are poor is am I supposed to have created this directory or does Eclipse create it for you? And if it's supposed to be created for you what am I doing wrong?
Subjective Effect said:
So I've no idea (again because the instructions are so poor) what to do about this.
I'm on the Android Developers site and trying to start the Hello World tutorial. I'm already stumped at the stage of creating a New Project because after I set up Project name, Application name, Package name and Create Activity clicking "Finish" gives this error:
[2010-10-28 01:33:03 - HelloAndroid] ERROR: Unable to open class file C:\workspace\HelloAndroid\gen\com\subjectiveeffect\helloandroid\R.java: No such file or directory
The reason I think the docs are poor is am I supposed to have created this directory or does Eclipse create it for you? And if it's supposed to be created for you what am I doing wrong?
Click to expand...
Click to collapse
Mine seems to have that error no matter what I type in.
So what have you done about it? Or can I continue without worrying, is this a trivial error message?
1) you should download Eclipse 3.5.2 as Helios is not supported by Android plugin yet.
http://www.eclipse.org/downloads/packages/eclipse-classic-352/galileosr2
2) R.java problem should go away if you restart eclipse
Also, to start with better use the existing sample project HelloWorld rather than setting up your own.
This is a common known bug. You can use the latest eclipse version, once you setup a project, you will have to go under project properties and choose compiler version 1.6, which is set to 1.5 usually.
Tha will solve the problem, because i was facing the same a few days ago when starting to mess with SDK and Eclipse.
I had a similar problem and gave up for awhile and when I came back to it I found out that I didn't have my paths set correctly for the java jdk, not sure if that is it but it worked for me.
I find if I restart Eclipse it fixes things.
I've been playing with layouts!
I've been messing around in google app inventor getting an idea for the flow of code and figured that it's time to step up to an actual coding environment.
So I went and downloaded the most recent SDK and eclipse. I installed all the available resources and revisions.
Then i hit a snag. The guide said that in order to properly set up Eclipse i need the ADT plugin. I opened the help menu and went to install new software and clicked on the add button. In the name section i put "ADT Plugin" and in location i put the exact web address they gave and it kept giving an error that said unable to connect to repository... i even tried http over https but still experienced the same issue. I entered the website enter my web browser in hopes that it would connect to a ftp server or start a direct download but unfortunatly it was a google site that was no longer available.
So i want to know if theres a mirror download somewhere that i can manually install to eclipse.
Also my eclipse info
Eclipse SDK
Version: 3.6.1
Build id: M20100909-0800
Sent from my futuristic phone
Yes mate, from here...
http://developer.android.com/sdk/eclipse-adt.html
Towards the bottom of the page it tells you what to do if the URL doesn't work.
johncmolyneux said:
Yes mate, from here...
http://developer.android.com/sdk/eclipse-adt.html
Towards the bottom of the page it tells you what to do if the URL doesn't work.
Click to expand...
Click to collapse
I freaking love you in a strictly platonic way.
I kinda feel like an idiot cause I didn't read farther lmao
Sent from my futuristic phone
ironlood said:
I freaking love you in a strictly platonic way.
I kinda feel like an idiot cause I didn't read farther lmao
Sent from my futuristic phone
Click to expand...
Click to collapse
lol - glad to help mate.
Okay just ran into another hitch
I downloaded the zip file and go to install new software but instead of the website i use the archive. It provides me with a list of 3 options
Android DDMS
Android Development Tools
Android Hierarchy Viewer
I put a check in each box and click next it says calculating Dependencies and requirements then i get an error that says
Cannot complete the install because one or more required items could not be found.
Software being installed: Android Development Tools 8.0.1.v201012062107-82219 (com.android.ide.eclipse.adt.feature.group 8.0.1.v201012062107-82219)
Missing requirement: Android Development Tools 8.0.1.v201012062107-82219 (com.android.ide.eclipse.adt.feature.group 8.0.1.v201012062107-82219) requires 'org.eclipse.gef 0.0.0' but it could not be found
Now this has me at a loss. If i downloaded the Archive in theory i shouldn't have to connect to any more sites to install the plugin. I want to know if there is a way to drag and drop the contents of the archive to a plugins folder then open eclipse and refresh the installed plugins in order to show that ADT has been installed.
Not sure if the 64 bit side of things could be an issue (either for you or for anyone), but this guy seems to have solved the same problem...
http://superuser.com/questions/221944/huh-jdk-not-found-on-windows-7-64-bit
Hope it helps mate.
KK ill see if i can follow this and come up with a fix to my issue. not too sure how this will work since im running a 32bit system with windows Vista
I'm still experiencing the same issue with eclipse unfortunately, i even downgraded to Galileo instead of Helios thinking that it was an incompatibility issue with the newest version or the most recent version. I even tried dragging the .JAR files in the ADT zip into the eclipse folder in an attempt to get Eclipse to recognize the plugins without having to install them through the "install new software" dialog.
Everytime I try to connect to the download server it gives me a message that says An exception stack trace is not available. Or Unable to connect to repository http://dl-ssl.google.com/android/eclipse/content.xml
Connection refused: connect
Now that I have the update to 2.3.4 I expected to be able to install the demokit and start controlling an arduino board.
The error message is "com.android.future.usb.accessory" shared library is missing. Did HTC leave out the ADK stuff from their 2.3.4?
Is there any way to enable it? Put a jar in the correct place or something?
Shared library missing
jonwa said:
Now that I have the update to 2.3.4 I expected to be able to install the demokit and start controlling an arduino board.
The error message is "com.android.future.usb.accessory" shared library is missing. Did HTC leave out the ADK stuff from their 2.3.4?
Is there any way to enable it? Put a jar in the correct place or something?
Click to expand...
Click to collapse
I kind of have the same problem, but on the Bravo, some apps install fine, others are giving exactly your error.
I read somewhere you need to reflash the gapps.zip, since it contains this famous Maps API.
Also the app dowloader which you get when you do a full wipe doesn't come up. (you know the one that let's you choose which google bloatware ;-) needs to be installed/downloaded
I tried that, but either do not have the proper gapps file or it fails to install.
I have the coolbliss rom right now with the sense 3.5 port to android 2.3.4.
(don't really like sense, but I wanted to know where it's at)
Does anybody have any pointers other then reflashing the gapps.zip.
Mayby some terminal command that rebuilds this Maps API I keep reading about?
It seems to be limited to apps that somehow keep track of your location I think.
Before I also had a package error, but that one mysteriously went away...(for now at least)
The cm7 never had this, I am missing something here?
jonwa said:
Now that I have the update to 2.3.4 I expected to be able to install the demokit and start controlling an arduino board.
The error message is "com.android.future.usb.accessory" shared library is missing. Did HTC leave out the ADK stuff from their 2.3.4?
Is there any way to enable it? Put a jar in the correct place or something?
Click to expand...
Click to collapse
Please, follow this thread:
github.com/ezterry/manifest-gingerbread-DS/issues/32
You can get the jar and xml from here:
forum.cyanogenmod.com/topic/26339-usb-accessory-mode-is-adk-supported-in-cm-7/
Hope it helps ya.
Guys,
I'm so angry , I just rooted the nook glowlight and am unable to install any apk files.
I'm always getting "there is a problem parsing the package", whatever I found on the internet :crying:
Is there no file explorer by default on it ? And why this parse error ?
And most websites just crash, grrr
Anyone, anyone please anyone : HELP MEEEE
Do you have ADB working? Can you see a logcat?
Do you know that these APKs are actually good and designed for API level 7?
Also, is installation of apps from unknown sources enabled in nook color tools? Most (all?) of the NST rooting packages include it, but you do have to set the flag to get packages found via the internet (rather than the google store) and copied to the device to install.
I get that error sometimes when downloading .apk files from some sites. Your browser might not be downloading the file with the correct filetype suffix. Can you see if it has the .apk suffix on it? I've found that some browsers do better than others with handling this file-type. If you can get xScope browser or Opera Mobile I think those were better. It's also possible that a retry of the download will work, or that the file itself is just bad.
I get the same error on my nook simple touch.
the same apk's work on my galaxy nexus.
Anyone knows what might be the problem and how to solve it?
A logcat will tell you exactly what the problem is.
Use ADB and get a logcat.
xd4d3v said:
I get the same error on my nook simple touch.
the same apk's work on my galaxy nexus.
Anyone knows what might be the problem and how to solve it?
Click to expand...
Click to collapse
Are you sure these apks are compatible with Android 2.1 Eclair? Not everything will work. Which programs are you trying to install specifically?
bobstro said:
Are you sure these apks are compatible with Android 2.1 Eclair? Not everything will work. Which programs are you trying to install specifically?
Click to expand...
Click to collapse
I haven't thought of that. but you're probably right.
I'm surprised the error message is not more obvious though.
xd4d3v said:
I haven't thought of that. but you're probably right.
I'm surprised the error message is not more obvious though.
Click to expand...
Click to collapse
guys
I've got motorola xt800 (milestone/ glam)
I am getting the same error " parsing error "
There is a problem parsing the package
its on Android 2.1 eclair
and its not rooted
what should i do ?
pls reply
I cant even access market ... cant download any apk files
jaybhatia999 said:
guys
I've got motorola xt800 (milestone/ glam)
I am getting the same error " parsing error "
There is a problem parsing the package
its on Android 2.1 eclair
and its not rooted
what should i do ?
pls reply
I cant even access market ... cant download any apk files
Click to expand...
Click to collapse
Wrong forum.
Try installing any other package with requirements : 2.1+
In Settings check "Allow Installation of Non-Market Apps" .
Install apk from SDCARD.
I'm 90% sure you are just trying to install a package not compatible with A 2.1.
osowiecki said:
Wrong forum.
Try installing any other package with requirements : 2.1+
In Settings check "Allow Installation of Non-Market Apps" .
Install apk from SDCARD.
I'm 90% sure you are just trying to install a package not compatible with A 2.1.
Click to expand...
Click to collapse
Renate NST said:
A logcat will tell you exactly what the problem is.
Use ADB and get a logcat.
Click to expand...
Click to collapse
I have a similar problem...
new to rooting and romming, finaly!!!! got my ms770 lg motion back to stock and I too am getting the error " there is a problem parsing the package".
I noticed that if I download an app, it installs fine, no problem...but when I transfer from my pc, it shows up with that error message when I try to install.
I have read a LOT of these forums , trying to determine how to solve this riddle...they all say try THIS file manager, or, make sure installation of non-market apps is checked, or some such thing...
Well, the "allow installation of non-market apps" thing IS checked...still no dice...
What do I do with the log once I get it?
Basically....can someone please point me in the right direction? Please?
sebastienbo said:
Guys,
I'm so angry , I just rooted the nook glowlight and am unable to install any apk files.
I'm always getting "there is a problem parsing the package", whatever I found on the internet :crying:
Is there no file explorer by default on it ? And why this parse error ?
And most websites just crash, grrr
Anyone, anyone please anyone : HELP MEEEE
Click to expand...
Click to collapse
hey juz check if ur sd is protected with password or something. and its the reason y its showing... if sd is protected under developer options & phone is rooted it occurs. check that out n try and tht prob will be solved..it worked for me. check that out n reply.
anish.2010 said:
hey juz check if ur sd is protected with password or something. and its the reason y its showing... if sd is protected under developer options & phone is rooted it occurs. check that out n try and tht prob will be solved..it worked for me. check that out n reply.
Click to expand...
Click to collapse
This thread is almost a year old, therefore it is considered "dormant" or even "dead". Please refrain from posting in old threads.
Thanks.
I solved it.
In my phone These Error was occur twice a week. I found Best solution of "There is a problem parsing the package". For you I share this Link you can solve it by this link: youtu.be/njwRDPtfe_k :good:
Hello XDA.
I have used Eclipse, and wanted to try out Android Studio.
The problem is, when creating a new project, i get a "Resolve Error":
Failed to import Gradle project: Could not create an instance of Tooling API implementation using the specified Gradle distribution 'h**p://services.gradle.org/distributions/gradle-1.6-bin.zip'.
Could not determine implementation class for service 'org.gradle.tooling.internal.protocol.ConnectionVersion4' specified in resource 'jar:file:/C:/Users/Me/.gradle/wrapper/dists/gradle-1.6-bin/72srdo3a5eb3bic159kar72vok/gradle-1.6/lib/gradle-launcher-1.6.jar!/META-INF/services/org.gradle.tooling.internal.protocol.ConnectionVersion4'.
C:\Users (Access is denied)
Consult IDE log for more details (Help | Show Log)
Click to expand...
Click to collapse
Seems like noone else got this problem.
I run as Administrator.
Why XDA, WHY?
Are you really creating totally new, empty project? That error message sound more like your gradle has problems importing an existing gradle project.
I'm running into the same issue, and yes, when creating a totally new project this error raises... Even though, after pressing ok, it continues loading (linux version)...
Sent from my LG-P350 using xda app-developers app
Broke'n'Droid said:
Are you really creating totally new, empty project? That error message sound more like your gradle has problems importing an existing gradle project.
Click to expand...
Click to collapse
Yes, like dbarrera said.
This is Windows version.
Any idea?
Have you tried updating your SDK and have you checked your gradle.build in root folder for any errors?
Sent from my SAMSUNG-SGH-I747 using xda premium
ansfent had
tepews said:
Hello XDA.
I have used Eclipse, and wanted to try out Android Studio.
The problem is, when creating a new project, i get a "Resolve Error":
Seems like noone else got this problem.
I run as Administrator.
Why XDA, WHY?
Click to expand...
Click to collapse
I ran into all sorts of trouble trying to set up Android Studio on my Windows 7 64 bit machine: Missing environment variables, mismatching JRE/Android SDK versions, Gradle compatibility issues, etc., etc. After serveral failed attempts, I finally gave up and went back to my old reliable ADT/Eclipse IDE. I don't want to sound pessimist, but I would give it a little more time.
hey Guy's...
if you have problems with gradle try to download the gradle-1.6-bin.zip from http://services.gradle.org/distributions/gradle-1.6-bin.zip and then copy it to the *\Android\android-studio\lib* directory.
"
Download Gradle from its distribution page at http://services.gradle.org/distributions/gradle-1.6-bin.zip
Then you should copy all the contents of gradle-1.6 to \Android\android-studio\plugins\gradle directory
You should also copy the gradle.jar file to \Android\android-studio\lib\ directory"
Finally you should restart Android Studio. After restart everything should work fine.
let me know if it work`s :silly:
It`s Weekend... :highfive:
I have a lot of problems with Android Studio, so I will work with Eclipse until Google fixes all bugs.
still not working...
dude1986 said:
hey Guy's...
if you have problems with gradle try to download the gradle-1.6-bin.zip from and then copy it to the *\Android\android-studio\lib* directory.
"
Download Gradle from its distribution page at
Then you should copy all the contents of gradle-1.6 to \Android\android-studio\plugins\gradle directory
You should also copy the gradle.jar file to \Android\android-studio\lib\ directory"
let me know if it work`s :silly:
It`s Weekend... :highfive:
Click to expand...
Click to collapse
I've tried this process, but it's not working...
Everytime I try to start a new project, I receive a message:
org.jetbrains.plugins.gradle.settings.GradleSettings cannot be cast to org.jetbrains.plugins.gradle.settings.GradleSettings
Do you know what could be causing this?
Thanks in advance.:good:
Finally you should restart Android Studio. After restart everything should work fine.
Hi,
If anyone has trouble with Android Studio, try to install it not in C:// (for Windows), but in another partition. I use it, and it always worked. And also, Android Studio usually will download Gradle by itself automatically.
If the problem still persist, try to re-install (re-download the newest version if necessary). Based on my tips above.