APK Files Giving Parse Error?
Jul 9, 2013
I have recently gotten back into developing Android applications. However, every time I try to run an application on my phone now, I get the error message - "Parse Error - There is a problem parsing the package."
Two years ago, I used Eclipse to develop projects, which is what I'm using now. Though, I had to reinstall eclipse and everything else. So it's a new setup but I believe it's the same general setup.
I can put my old .apk files on my phone, and they work fine. If I put any newly created .apk files on my phone, I get the parse error.
I also found that if I compile any OLD projects and then copy those onto my phone, that I get the parse error.
This leads me to believe I've got something set up wrong in Eclipse that my phone isn't liking.
I thought maybe it was the virtual device manager, so I've tried several combinations of virtual devices - 1.5, 2.1, 2.2, 2.3.3 - using any of them still gives the parse error when trying to run the applications on my phone.
By the way, all of these projects work in the emulator running through Eclipse, so I know they work.
View 10 Replies
Feb 2, 2010
I dont what to give any background to activity when i leave this propery blank it gives me error, and i have tried using @null as a value but it shows black background.can any one guide how to make it transparent?
View 2 Replies
View Related
Feb 22, 2014
Lately I have been trying to install a ROM on to my phone, but I cant get the files onto my SD card. Keeps saying, "Cannot copy item. The device has either stopped responding or has been disconnected.". I just rooted the phone about a week ago and figured I would change the ROM. Also tried unblocking the files but got nowhere. Also tried other ROMs, nothing is working. But I can transfer files to and from my SD card with no error.
View 3 Replies
View Related
Sep 28, 2010
I am creating a few layouts with the root element being merge. inside the merge element i have a ScrollView containing a TextView. I am getting 2 errors: there is no resource to match the layout_below and layout above names i have put in.I have another layout xml file including very similar components, some of which also reference @id/headingLayout and @id/tabsLayout. Both of these XML layout files do not contain the component with name headingLayout or tabsLayout.Why is it that one layout file has no errors about these references and the other layout file does? What the crap am i doing wrong, the app will build and run like i expect, until i add this merge to another layout?I have even tried copying the xml from the working layout file, to find that it gives the same errors, something must be wrong with my new layout file. I have tried cleaning, rebuilding, opening/closing eclipse..
View 1 Replies
View Related
Jul 22, 2010
Does anyone else have find their browser giving this error often while on WiFi? I have to disable and move to 3G just to get my connection back.
View 49 Replies
View Related
Sep 30, 2010
Am I going wrong anywhere here ? because this is giving runtime error. application stopped unexpectedly.
I may b wrong in syntax.
CODE:..................
View 1 Replies
View Related
Sep 15, 2012
Running a Galaxy Nexus on Stock 4.1.1 (rooted).Last week, Play Store randomly started giving me the DF-BPA-09 Error when I wanted to download new apps. Old apps would update fine. I searched XDA and found that turning Google Sync Off and restarting the phone solved it. It worked once or twice, but the problem kept coming back.
Then read another thread that said go to All Apps > Play Store >Uninstall Updates and Clear Data. I did this, and now when I start Play Store, it permenantly gives me 'Server Error', with a Retry Button below it.I have Titanium Backup Pro, so tried restoring an older version, tried Freezing and Unfreezing the App, still not working.
DF-BPA-09 Error used to come, Cleared Play Store Data and now stuck at Server Error.
View 4 Replies
View Related
Aug 21, 2013
I am new to android. i am try to compile android kernel 3.4.0 for HTC device.After running cross compile command,
"export CROSS_COMPILE=/home/jharvard/ndk-x86/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-"
when I run make clean command "make clean && make mrproper".It shows errors,
/home/jharvard/kernel-code/linux/scripts/gcc-version.sh: line 25: arm-eabi-gcc: command not found
/home/jharvard/kernel-code/linux/scripts/gcc-version.sh: line 26: arm-eabi-gcc: command not found
View 1 Replies
View Related
Nov 18, 2009
When I add video source and video encoder, it gives error in recoreder.prepare() (prepare failed) while the same code is working only for audio. I am not finding what I am doing wrong.
setContentView(R.layout.camera);
preview=(SurfaceView)findViewById(R.id.surface);
previewHolder=preview.getHolder(); previewHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
recorder = new MediaRecorder();
String url = "/sdcard/dcim/test.3gp";
camera = Camera.open();
Camera.Parameters parameters = camera.getParameters();
parameters.setPreviewSize(352, 288);
parameters.set("orientation", "portrait");
camera.setParameters(parameters);
recorder.setAudioSource(MediaRecorder.AudioSource.MIC); recorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
recorder.setOutputFile(url);
recorder.setVideoFrameRate(15);
recorder.setVideoSize(480, 320);
recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); recorder.setVideoEncoder(MediaRecorder.VideoEncoder.H263);
recorder.prepare(); recorder.start(); Thread.sleep(100000);
recorder.stop(); recorder.release();
} catch (Exception e) { e.getMessage(); }
View 3 Replies
View Related
Apr 8, 2010
My youtube app that came installed on the phone already gives me an error when trying to play videos.
View 6 Replies
View Related
Sep 8, 2010
Is anyone else all of a sudden having problems with Yahoo mail not working and giving an authentication error when trying to re-add the account?
ETA: I just found that these settings work but I have to disable WiFi which is total BS
For Incoming Server Settings set the IMAP server to imap.mail.yahoo.com and the Port to 143
For Outgoing Server Settings set the SMTP Server to "smtp.mobile.mail.yahoo.com and the Port to 587
View 2 Replies
View Related
Jun 4, 2010
I am currently developing android XMPP client to communicate with the Tigase server setup locally.Before starting development on Android I am writing a simple java code on PC to test connectivity with XMPP server.My XMPP domain is my pc name "mwbn43-1" and administrator username and passwords are admin and tigase respectively.Could anyone please tell me the solution for this problem.I checked the XMPPConnection.java file in the Smack API and it looks the same as given in the link solution.
View 3 Replies
View Related
Jun 27, 2012
Im here because of my problem with SGA 2.Few days ago I bought ACE 2 and I found few problems with "external_sd".So the problems are
1. When I try to create folder it gives me error "Creation failed"
2. When trying to move folder from internal memory to external sd it gives me error like "Moving failed", while copying goes fine.
3. I can move/copy any file to sd card, but sometimes those files got corrupted, gives me error about memory when trying to open pictures, same problem when saved camera saved photo to sd card. Even getting error when trying to play video.
APK files got corrupted too.
4. When I have moved apps to sd card some while apps work great, but after some time cant launch apps because it gives me error about that app doesnt exist.
I tried formatting sd card with pc and android.
Factory reset.
Repartition to same firmware with Odin.
Wipe cache, wipe data.
I dunno what causes those error, bugs, glitches. Is it phone or android sytem?
Tried many sd card and always got same errors. But when I mounted mine sd card to another phone it worked perfect.
View 2 Replies
View Related
Aug 27, 2010
I have the following scenario: I send a XML file to a server as a request and get a XML file as response and all that as a background thread on android. The XML request is serialized using various values. The XML response is then read by SAX and put into a list. The whole request/response process happens in a background thread using the AsyncTask class. The problem is that I have different types of responses and I have no idea what approach to take to parse the response based on the request sent. How do I tell Android to use parser A based on request A and parser B based on request B?
View 2 Replies
View Related
Nov 5, 2009
In my application. I tried to parse XML file. First time it executed correctly. Second time it is showing Out Of Memory Error.
My XML file contains 15000 lines.
can any one know about this?...
My log cat is given below:
CODE:................................
View 2 Replies
View Related
May 15, 2012
I am getting a parse error when i try to download the .apk file from one of our custom web sites. We are using IIS 7 and i did set the MIME type to "application/vnd.android.package-archive".
if you have come across similar issue while downloading the apk file from a web site and not from Android Market.
View 8 Replies
View Related
Nov 20, 2010
I was having trouble with Fresh ROM so I installed CrunchySoft and all I'm missing is FriendStream. I was able to download an apk but when I try to install it I get a Parse Error.
View 1 Replies
View Related
Sep 13, 2010
I have the following problem. I was developing in android using the eclipse and android-sdk-windows saved in an folder (e.g. C:androidandroid-sdk_r07-windowsandroid- sdk-windows and C:androideclipse-pulsar-helios-win32). But after i downloaded and installed the eclipse and android sdk again, in the after folder, i got this error message: "Failed to parse the output of 'adb version' " and can't run my application, because the emutaros that starts is not identified by the eclipse, i can't find it into "Devices" tab from eclipse. I found from the net the following http://stackoverflow.com/questions/2260118/failed-to-parse-the-output "Try closing Eclipse, issuing a 'C:UsersMohitDocumentsAndroidSDKools kill-server' command from terminal and retrying. If that still doesn't work, you could try opening Activity Monitor to see if there are any existing adb processes running, and kill them. but i am using Windows XP and i don't know how to use kill-server command from the terminal. I mean in run/cmd there are is no such a command or how can i use the second solution - to open Activity Monitor from Windows XP
View 9 Replies
View Related
Mar 9, 2010
I just flashed Pete's latest ESE53 BB and cannot restore any of my apps and data with Titanium Backup. I get the error "there is a problem parsing the data". I have already tried to chmod 755 /system/xbin/busybox and still no go. Does anyone have any ideas before I go back to my BB 0.7.8 nandroid backup?
View 11 Replies
View Related
Jun 8, 2010
I am trying to learn Android development, so I downloaded Eclipse Galileo and the Android SDK. However, whenever I start Eclipse, I get the error message "Failed to parse the output of adb version." In the Console/DDMS pane, the debug output reads:[2010-06-07 20:15:13 - ddms]Failed to reopen debug port for Selected Client to: 8700 [2010-06-07 20:15:13 - ddms]Address family not supported by protocol family: bind java.net.SocketException: Address family not supported by protocol family: bind
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at com.android.ddmlib.MonitorThread.reopenDebugSelectedPort(Unknown Source)
at com.android.ddmlib.MonitorThread.run(Unknown Source)[2010-06-07 20:15:17 - adb]Failed to parse the output of 'adb version'I am running Eclipse Galileo, have the most recent Android SDK downloaded, and am running Windows Vista 32-bit SP2. I am sure that the Android SDK path is correct and that all the files are there.I would appreciate any assistance anyone could provide.P.S.--If anyone could direct me to any useful Android development resources.
View 4 Replies
View Related
Oct 31, 2010
I am working on an Android app but I keep getting a Leak Found error. Here's the Call Stack:
11-01 11:26:47.087: ERROR/Database(7317): Leak found
11-01 11:26:47.087: ERROR/Database(7317): java.lang.IllegalStateException: /data/data/com.noshufou.android.su/databases/permissions.sqlite SQLiteDatabase created and never closed
11-01 11:26:47.087: ERROR/Database(7317): at android.database.sqlite.SQLiteDatabase.<init>(SQLiteDatabase.java:1792)
11-01 11:26:47.087: ERROR/Database(7317): at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:798)
11-01 11:26:47.087: ERROR/Database(7317): at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:857)
11-01 11:26:47.087: ERROR/Database(7317): at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:850)
11-01 11:26:47.087: ERROR/Database(7317): at android.app.ApplicationContext.openOrCreateDatabase(ApplicationContext.java:535)
11-01 11:26:47.087: ERROR/Database(7317): at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:193)
11-01 11:26:47.087: ERROR/Database(7317): at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:193)
11-01 11:26:47.087: ERROR/Database(7317): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:98)
11-01 11:26:47.087: ERROR/Database(7317): at com.noshufou.android.su.DBHelper.<init>(DBHelper.java:28)
11-01 11:26:47.087: ERROR/Database(7317): at com.noshufou.android.su.UninstallReceiver.onReceive(UninstallReceiver.java:10)
11-01 11:26:47.087: ERROR/Database(7317): at android.app.ActivityThread.handleReceiver(ActivityThread.java:2637)
11-01 11:26:47.087: ERROR/Database(7317): at android.app.ActivityThread.access$3100(ActivityThread.java:119)
11-01 11:26:47.087: ERROR/Database(7317): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1913)
11-01 11:26:47.087: ERROR/Database(7317): at android.os.Handler.dispatchMessage(Handler.java:99)
11-01 11:26:47.087: ERROR/Database(7317): at android.os.Looper.loop(Looper.java:123)
11-01 11:26:47.087: ERROR/Database(7317): at android.app.ActivityThread.main(ActivityThread.java:4363)
11-01 11:26:47.087: ERROR/Database(7317): at java.lang.reflect.Method.invokeNative(Native Method)
11-01 11:26:47.087: ERROR/Database(7317): at java.lang.reflect.Method.invoke(Method.java:521)
11-01 11:26:47.087: ERROR/Database(7317): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:862)
11-01 11:26:47.087: ERROR/Database(7317): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)
11-01 11:26:47.087: ERROR/Database(7317): at dalvik.system.NativeStart.main(Native Method)
The problem is I don't use a database anywhere in my code.EDIT:Here is the code snippet of the whole program. Also I only get this error sometimes and sometimes I don't which is another weird thing. Here is the main Activity:public class SetAlarmUI extends Activity {TextView mTimeDisplay;Button setAlarmButton;
private Calendar time;
private int alarmHour;
private int alarmMin;
static final int TIME_DIALOG_ID = 0;Toast toast
View 2 Replies
View Related
Dec 10, 2009
Currently I am having an issue with my SD card storage.
It started when iMusic told me i was out of space, on a 4gig SD card when i had mayb 5 songs on the phone!
So i went to my astro manager file manager to delete some files just to see. i keep getting "error deleting files" on anything i try to delte, ive taken the card out rebooted etc etc.
It makes me think the card may be locked? as its not even letting me save anything to it now.
Should i just root the dang thing to avoid problems like this?
I can delete files by going into the generic "music" app and long touching the song and selecting delete.
View 2 Replies
View Related
Jul 8, 2009
I am developing android program under eplicse environment. I use svn to store all my files. But it seems that svn files cause some problem.
I got some errors like this:
CODE:........
It seems android system wallk all directories under src, and try to parse files under .svn folder. Is that bug?
View 5 Replies
View Related
Dec 21, 2012
I am getting an error message when I try to move pictures or videos off of my GN2 on to my pc using a USB connection.
In file manager I open up the phone drive and then my SD card. I see and select the files I want to copy over. When I drag and drop them from the phone into the new folder on my PC an error comes up that "the requested resource is in use." It won't even let me move them to a new file folder on the phone.
View 1 Replies
View Related
Apr 2, 2009
i have problem with opening files. this.res=imsLoader.context.getResources(); this.context=imsLoader.context; InputStream istream=null; istream=res.openRawResource(R.raw.l6); //->> it works correcty that file is on res/raw/l6.lvl istream=context.openFileInput("l3.lvl"); // it give me FileNotFound exception istream=context. openFileInput("l"+level+".lvl"); // it give me FileNotFound exception
View 2 Replies
View Related
Mar 15, 2010
My friend has this mp4 video file which he can play on his droid, and on my other friend's HTC magic. But for some reason, when I try to play it on my phone, I get the message "sorry, this video cannot be played". The file is about 140mb, would that be the issue?
View 18 Replies
View Related
Nov 5, 2009
Trying to download and save files off the net, whether from ftp sites or sites, getting an insufficient space error. I have 533MB free on my SD card and 308MB free on the internal storage.
View 1 Replies
View Related
May 23, 2014
I downloaded about 10GB of media files onto my Android 5 today - all play fine on the phone it self without any issues. I attempted to move them from the phone to PC, but when ever I try playing them or moving them, I receive an error message: error 0x80040000: invalid oleverb structure.
I've tried Googling this, but I can't find anything specific to the Android. I can transfer much smaller files to and from the phone without any issues.
Unfortunately I don't have a home data package to transfer files via wifi...
View 1 Replies
View Related
Sep 3, 2010
Since 2.2 I have been unable to download anything and only get an error message after it takes you to the download screen. This is happening on the stock browser as well as skyfire. Am I missing something? This worked fine in 2.1.
View 5 Replies
View Related
Apr 1, 2013
I am trying to decompile contacts.apk from my micromax a52. I tried from apk manager and apk multi tools but it is giving error.
Code:
can't find framework resources for package of id:2.you must install proper framework files.
now i installed framework files to my computer and also by using "pull dependencies from device".
but still couldn't decompile it properly.it is also giving error during recompiling if i ignore those error and mod it.
Code:
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 10, --target-sdk-version, 10, -F, C:UsersamanAppDataLocalTempAPKTOOL2048703324560073052.tmp, -0, arsc, -I, C:Usersamanapktoolframework1.apk, -S, C:APK-Multi-Toolother..projectsContacts.apk
[Code] .........
View 7 Replies
View Related