Related
Over the past few months since 'Grocery iQ' has been out, I have been trying to install it. Despite trying it on several different ROMs on my old G1 and now several different ROMs on my Slide (including now Froyo) it seems that it doesn't like to install. From my experience it is the biggest direct-download from the Market that I have come across weighing in at 8.01MB - by 'direct-download' I mean that the application itself is downloaded entirely from the Market and the size I reference isn't from 'additional' files downloaded to the SD card after running the program.
Everytime I try to install it the system just says 'Installation Unsuccessful' and one time I got an error code: -18 (on Eugene's Froyo Kanged RC1). Fortunately I'm fluent enough with the device to have my SDK setup and I grabbed a logcat from the adb server. Using what debugging mind-set I've had from coding I was able to find the problem is:
Code:
D/VoldCmdListener( 122): asec list
I/PackageHelper( 1703): Size of container 10 MB 8401843 bytes
D/VoldCmdListener( 122): asec create smdl2tmp1 10 fat {} 10010
E/Vold ( 122): ASEC file '/mnt/secure/asec/smdl2tmp1.asec' currently exists - destroy it first! (No such file or directory)
W/Vold ( 122): Returning OperationFailed - no handler for errno 98
E/PackageHelper( 1703): Failed to create secure container smdl2tmp1
E/DefContainer( 1703): Failed to create container smdl2tmp1
What exactly is happening here? It almost looks like it's trying to create a secure environment for the install or the program uses copy-protection. Can someone please elaborate on this - hopefully a dev?
Thanks!
Im not a dev but i think its a copy-protection because some copy-protected apps dont install correctly for me from the market/through backup/ but they tend to work when i get it off a site hope this helps or the app has a problem itself, some apps do.
TakoLuffer said:
Im not a dev but i think its a copy-protection because some copy-protected apps dont install correctly for me from the market/through backup/ but they tend to work when i get it off a site hope this helps or the app has a problem itself, some apps do.
Click to expand...
Click to collapse
It's strange that they would copy-protect a free application, but not much surprises me now-days, lol.
nbetcher said:
It's strange that they would copy-protect a free application, but not much surprises me now-days, lol.
Click to expand...
Click to collapse
See my post on your thread in development.
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!
Hello. I am too having problems with the GPS fix. I googled, i have read fora, i wrote on fora, i have read even the facebook desire hd page where people from all over the world have the same problem with the GPS.
I have tried EVERYTHING, now the last chance is to change the region from the gps conf file....which i can remember being northamerica, while i live in europe. Maybe changing that to EUROPE will help me fix the gps problem.
To save changes to that file, i would need root access. I don't have root access. I don't need root access, i just want to change that file and see if the gps gets the fix faster than before....other than that, i have never wanted root access.
So, knowing my target....which is the most simple way to change that .conf file? I know that the visionary tool doesn't work anymore with froyo desire hd....so i can't root the phone...other methods look really complicated to me. there should be a way to edit the GPS file without doing a mess with roms and downgrades and everything...
please help !!!
You need root access to edit the file, there's no other solution that I know of. If you decide to root, use FasterFix from market to change the region.
Unable to use Visionary due to your build number is more than 1.3xxxxxxx?
You do not have any other option other than to root your device in order you to alter system files. Even if you download FasterFix in the market, you will need to have Superuser permission before the app can directly change system files for you.
If your build number is higher than 1.3xxxxxx, then you have to do a downgrade.
GPS performance has been affecting me in the past, but now i have found a solution(not sure yet, but it works for me until now). Now I got a fix within 5-15 seconds. At most is 30 seconds for the first fix.
Anyway, you should consider rooting. You can have full access throughout your device. My phone previous, battery life can last for a day, now at least two days. I am running different ROM and Kernel thats why.
Cheers dude. =)
It is a part of \etc, definately will need a root access to grant you access to the file.
ok could you link me to a really SIMPLE tutorial to do that? of course i think i'll have to do a hard reset? lose all my saved games and screen configurations.... sigh i just did a hard reset for the same reason (gps)....
and what about new rom and so on? do i have to use another rom in order to root the phone? what does that change ? any rom to recommend?
You don't need root access to modify gps.conf.
Use FasterFix.
Use it two times (open Fasterfix, select europe, apply, then do these steps once again).
Fasterfix will return an error both times, but if you open gps.conf from a file manager like ASTRO) you'll see that file had been changed.
After a while, Android reverts automatically gps.conf to notrh america ntp.
Didn't pay much attention to this, so i don't really know if Android reverts file on reboot or even without reboot.
giegi_dc said:
You don't need root access to modify gps.conf.
Use FasterFix.
Use it two times (open Fasterfix, select europe, apply, then do these steps once again).
Fasterfix will return an error both times, but if you open gps.conf from a file manager like ASTRO) you'll see that file had been changed.
After a while, Android reverts automatically gps.conf to notrh america ntp.
Didn't pay much attention to this, so i don't really know if Android reverts file on reboot or even without reboot.
Click to expand...
Click to collapse
i actually used faster fix, but as soon as i do anything, it says 'required root access' and doesn't do anything !! is that the error you're talking about ?
EDIT: i tried again...start faster fix: can't get root. change to europe = root access required. the gps.conf (i checked) is still on north-america.pool server ((
giegi_dc said:
You don't need root access to modify gps.conf.
Use FasterFix.
Use it two times (open Fasterfix, select europe, apply, then do these steps once again).
Fasterfix will return an error both times, but if you open gps.conf from a file manager like ASTRO) you'll see that file had been changed.
After a while, Android reverts automatically gps.conf to notrh america ntp.
Didn't pay much attention to this, so i don't really know if Android reverts file on reboot or even without reboot.
Click to expand...
Click to collapse
What are you talking about? You can't change system files without root and the app description clearly states that you need root access and busybox. It's not there to fool people is it?
@rogermorse
btw, are you using a case?
I AM using a case but even without case no difference, i tried many times.
i'm trying to root the phone...already on the first step i'm blocked: android developer kit doesn't find java SDK 64 bit....i googled and other people have this problem, i can't fix it, it just keeps saying that java was not found....OMG i had never thought rooting a phone would have been that difficult....i think i'll surrender and never use the gps in my life.
the installer of android SDK stops because it doesn't find java SDK. if i unzip the SDK, at the exit it says the same thing. I was able to make windows recognize the phone in debug mode as ADB interface....but then the
adb shell /data/local/tmp/psneuteradb shell
says 'not found'. anyway the java has something wrong with the android SDK that, as i said, keeps telling me that cannot find the java. i already entered the path in user variables...
rogermorse said:
I AM using a case but even without case no difference, i tried many times.
i'm trying to root the phone...already on the first step i'm blocked: android developer kit doesn't find java SDK 64 bit....i googled and other people have this problem, i can't fix it, it just keeps saying that java was not found....OMG i had never thought rooting a phone would have been that difficult....i think i'll surrender and never use the gps in my life.
the installer of android SDK stops because it doesn't find java SDK. if i unzip the SDK, at the exit it says the same thing. I was able to make windows recognize the phone in debug mode as ADB interface....but then the
adb shell /data/local/tmp/psneuteradb shell
says 'not found'. anyway the java has something wrong with the android SDK that, as i said, keeps telling me that cannot find the java. i already entered the path in user variables...
Click to expand...
Click to collapse
while downloading the SDK, Don't download the exe, go with zip...I think that's what I did when I faced the issue last time.....
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:
Hey guys,
I have been having trouble getting started developing applications for android. I know how to use Java, and frequently use the netbeans ide for my java homework ect. But I decided why not adventure out and build upon what I learned in school. Unfortunately I have ran into nothing but problems. The first problem is this:
"Gradle project sync failed. Basic functionality (e.g editing, debugging) will not work properly. "
In the messeages window it reads:
[file path to \app\build.gradle]
Failed to Find: com.android.support:appcompact-v7:21+
I have had trouble using grade in eclipse....well I only got eclipse to work once, when I first got my phone, and managed to make a small pop-up app for my self. I did not know any programming language at the time. I merely just copy and pasted most of the code.
and problem number two;
The generated code is riddled with errors?
I look through most of these errors and they state that certain things can be resovled. For example, cant resolve "support" <--- I think that by not having this imported correctly (I think this falls into the first problem) is causing the rest of the errors in my MainActivity file to go crazy.
Is their any way to post more information? Like a log file, maybe that might be of more help too. I just am unfamiliar with Android Studio, as of right now. Attached is a picture of the IDE when is spawns the error.
Thanks for the help in advance!
How to Fix said issue
KJ4CCH said:
Hey guys,
I have been having trouble getting started developing applications for android. I know how to use Java, and frequently use the netbeans ide for my java homework ect. But I decided why not adventure out and build upon what I learned in school. Unfortunately I have ran into nothing but problems. The first problem is this:
"Gradle project sync failed. Basic functionality (e.g editing, debugging) will not work properly. "
In the messeages window it reads:
[file path to \app\build.gradle]
Failed to Find: com.android.support:appcompact-v7:21+
I have had trouble using grade in eclipse....well I only got eclipse to work once, when I first got my phone, and managed to make a small pop-up app for my self. I did not know any programming language at the time. I merely just copy and pasted most of the code.
and problem number two;
The generated code is riddled with errors?
I look through most of these errors and they state that certain things can be resovled. For example, cant resolve "support" <--- I think that by not having this imported correctly (I think this falls into the first problem) is causing the rest of the errors in my MainActivity file to go crazy.
Is their any way to post more information? Like a log file, maybe that might be of more help too. I just am unfamiliar with Android Studio, as of right now. Attached is a picture of the IDE when is spawns the error.
Thanks for the help in advance!
Click to expand...
Click to collapse
Ok guys, I figured it out. We need to install a package from the sdk manager. The picture shows which one needs to be installed. The package is "Android Support Repository"
Seems you have already gotten the answer. But for this kind of questions, past the main line of the error log into Google is much faster than post a question, I think.