[Q] error code - 24 installing apk - General Questions and Answers

Hello
I'm trying to install all and I got application not installed..
This is what I get in log cat :
10-28 13:21:52.160 I/ActivityManager(573): START u0 {dat=file:///storage/emulated/0/Download/0BwZSwcafrRvFY0xFbVhVLUZFWG8.apk cmp=com.android.packageinstaller/.InstallAppProgress (has extras)} from pid 5861
10-28 13:21:52.409 W/ActivityManager(573): No content provider found for permission revoke: file:///storage/emulated/0/Download/0BwZSwcafrRvFY0xFbVhVLUZFWG8.apk
10-28 13:21:52.423 W/ActivityManager(573): No content provider found for permission revoke: file:///storage/emulated/0/Download/0BwZSwcafrRvFY0xFbVhVLUZFWG8.apk
10-28 13:21:52.423 I/PackageManager(573): Copying native libraries to /data/app-lib/vmdl1174994880
10-28 13:21:52.572 I/SELinuxMMAC(573): package (xx. Xx. Xx) installed with seinfo=default
10-28 13:21:52.572 W/PackageManager(573): Package couldn't be installed in /data/app/xx. Xx. Xx. Apk
10-28 13:21:52.699 D/InstallAppProgress(5861): Installation error code: -24
10-28 13:21:53.697 I/InstallAppProgress(5861): Finished installing xx. Xx. Xx
I searched on Google and methods don't works
Can some one help me?

Not compatible with your device maybe,
Whats your android version?
Sent from my ST23i using xda app-developers app

pe3do said:
Not compatible with your device maybe,
Whats your android version?
Sent from my ST23i using xda app-developers app
Click to expand...
Click to collapse
HTC one 4.3.1
It worked before with 4.3 and 4.2.2
The free version of the apk is installed without problems but not the pro version one..

i've tracked the class, its weird, i could find nothing
as you can see here, the PackageInstaller.java, this is the line u got at log
Code:
private int getExplanationFromErrorCode(int errCode) {
Log.d(TAG, "Installation error code: " + errCode);
switch (errCode) {
case PackageManager.INSTALL_FAILED_INVALID_APK:
return R.string.install_failed_invalid_apk;
case PackageManager.INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES:
return R.string.install_failed_inconsistent_certificates;
case PackageManager.INSTALL_FAILED_OLDER_SDK:
return R.string.install_failed_older_sdk;
case PackageManager.INSTALL_FAILED_CPU_ABI_INCOMPATIBLE:
return R.string.install_failed_cpu_abi_incompatible;
default:
return -1;
}
}
the other weird thing is, at PackageManager.java no value equals -24
check this
CTRL+F: INSTALL,
you will get all INSTALL_XX constants and none of them is -24
so i think its something like unhandled exception or error that maybe...
good luck

http://forum.xda-developers.com/showthread.php?t=1992241
Read this, might help you
Sent from my ST23i using xda app-developers app

pe3do said:
http://forum.xda-developers.com/showthread.php?t=1992241
Read this, might help you
Sent from my ST23i using xda app-developers app
Click to expand...
Click to collapse
nice find
no wonders i could not find it in the source code
i think its a bug in the installer

I don't think I can solve the problem, I will search for an alternative to this app on play store

Related

Java-J2ME Runner

hello
i found this app better than jbed to run java files and apps w/o any root
simple to use
njoy guys
hit thanks if it helps u
Error info on Android 4.0
It cannot work on Android 4.0.
Error log is : java.lang.SecurityException: Permission Denial: not allowed to send broadcast android.intent.action PROXY_CHANGE from pid=*** uid=***
can not use on ics
Still not work too on GB
Sent from my X10S using xda premium

Problem parsing package

In trying to install the YouTube apk on my android tablet. There's a pre loaded YouTube app on it but I think its causing a problem. Every time I try to install it it says ' there was a problem parsing the package'. Can someone help?
Sent from my SGH-T679 using xda premium
Come on guys, this is preety general for an android problem. At least one person should have replied by now.
Sent from my Kindle Fire using XDA
Do you have the logcat of what the Package Manager said?
That error is usually caused when the download isn't complete, I.e. the file is not proper...
That said, if you were sideloading the app, and you believe that you have the complete file (.apk), then you can uninstall the original app, and place the new app in system/app, give appropriate permissions and reboot...
You need root acces for the abobe, and the method in general is referred to as the root explorer method...
Sent from my GT S5670 using xda free, (coz the premium keeps force closing :banghead: )
So I need to give it root access and then try to install the apk again but in the system app section? And to add there is this app on there called "video player" it basically functions like the Google YouTube app but not as good. But sometimes when I go to see the not-yet-installed YouTube apk on my SD card it has the "video player" icon. I don't have any problem with sideloading any other apk on there so could that be the problem?
Sent from my SGH-T679 using xda premium
brokenAndroid93 said:
So I need to give it root access and then try to install the apk again but in the system app section? And to add there is this app on there called "video player" it basically functions like the Google YouTube app but not as good. But sometimes when I go to see the not-yet-installed YouTube apk on my SD card it has the "video player" icon. I don't have any problem with sideloading any other apk on there so could that be the problem?
Sent from my SGH-T679 using xda premium
Click to expand...
Click to collapse
I can't understand what you're trying to say!
Refer the guide mentioned in my sig vv
And see the step: installing apks through root explorer
(The rest of the stuff isn't related to your device)
Sent from my GT S5670 using xda free, (coz the premium keeps force closing :banghead: )
Well I dont know how to root my particular device
Sent from my SGH-T679 using xda premium
For some reason some app doesnt work for me too, so i get problem parsing package . I used to have parsing package problem with flash player on my atrix4g then after some time i installed it and it worked good im not sure if its coz they fixed anything thro updates or it just coz i made some changes into my device i still can't download google books on it but my friend who has the same device and android version can. what im trying to say is you could try older versions of the app or if you really need it you can install custom rom , btw i can't install youtube either on my atrix i still work with an old version that came with the stock .
a.cid said:
I can't understand what you're trying to say!
Refer the guide mentioned in my sig vv
And see the step: installing apks through root explorer
(The rest of the stuff isn't related to your device)
Sent from my GT S5670 using xda free, (coz the premium keeps force closing :banghead: )
Click to expand...
Click to collapse
Generic youtube app provided by manufacturer causing OFFICIAL one to never install. *simplified*
How old is the atrix? Sounds strange if you cant even install google books. Maybe that could be a problem with the phone, not just older software.
brokenAndroid93 said:
In trying to install the YouTube apk on my android tablet. There's a pre loaded YouTube app on it but I think its causing a problem. Every time I try to install it it says ' there was a problem parsing the package'. Can someone help?
Sent from my SGH-T679 using xda premium
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.
im having a similar problem (maybe)
i hav a samsung star pro (g-7262)(android 4.1.2)...for eg, i shared the clock apk from an lolipop android devise...bt when i try installing it, it displays the parsing prblm...how am i supposed to do this? thnx in advance

[APP][PHOTOGRAPHY][ALBUM][v1.2.243] Phorganizer, need tester!

hi guys! my app Phorganizer has systemic problems with HTC DESIRE S and others HTC devices. I wanted to ask if someone could help me figure out what errors involves the app. unfortunately the only feedback that I have are the negative comments from the market, but these are not very useful to solve the problem, also because these feedback do not explains these errors.
Isn't there someone that could download and test Phorganizer? I unfortunately do not have a HTC DESIRE S and do not know anyone that has one.
eventually, here is the official thread :http://forum.xda-developers.com/showthread.php?t=1533263
thanks in advance
francesco
Ok, just installed it. Any problems will try and get logcat for you.
---------- Post added at 07:11 PM ---------- Previous post was at 06:54 PM ----------
Ok, had it about ten minutes, moved around about 100 photos a couple of times, all end up where they are supposed to be, different folder names, different locations from dcim. No problem. Only thing I couldn't do was rename more than one pic at a time, hoping I understood it right and it was supposed to batch rename pics in said folder. No joy there. If I didn't have a file manager as a lot don't it is ideal for relocating pics to property folders.
jugg1es said:
Ok, just installed it. Any problems will try and get logcat for you.
---------- Post added at 07:11 PM ---------- Previous post was at 06:54 PM ----------
Ok, had it about ten minutes, moved around about 100 photos a couple of times, all end up where they are supposed to be, different folder names, different locations from dcim. No problem. Only thing I couldn't do was rename more than one pic at a time, hoping I understood it right and it was supposed to batch rename pics in said folder. No joy there. If I didn't have a file manager as a lot don't it is ideal for relocating pics to property folders.
Click to expand...
Click to collapse
hi jugg1es! thanks for answering.. do you have not problem with '(try to) open gallery' button? it works fine? no error there?
then, you can create albums properly ? i understand right??
the only problem is that you can't rename photos in batch?
thanks a lot for your time !!!
edit:
frequent error is..no gallery opens when click '(try to) open gallery' (htc gallery .. no alternative one such as QuickPic and others)
No, opening app and gallery was fine, all good. Was it supposed to batch rename or did I miss something. Tried it a couple of times, restarted phone etc, moved pics again. Might be worth looking for someone on stock or sense Rom just in case
yes, I forgot to mention that the problem of the gallery is with Sense rom or stock anyway ... the fact is that you say you have no problems ... I understand that you have a CyanogenMod rom ... I know that I will install the CyanogenMod and will test it with phorganizer... thanks jugg1es for your time! :beer:
Hi, I have a stock desire s not rooted or s-offed and the button to open gallery doesn't work throws up a error everything else seems to work fine and I renamed a batch of photos no problem. I have tried to attached a screen shot of error but won't let me dont know if it is cause I am new. If you need anything else let me know. Cheers.
Sent from my HTC Desire S using xda app-developers app
lobsterboy1 said:
Hi, I have a stock desire s not rooted or s-offed and the button to open gallery doesn't work throws up a error everything else seems to work fine and I renamed a batch of photos no problem. I have tried to attached a screen shot of error but won't let me dont know if it is cause I am new. If you need anything else let me know. Cheers.
Sent from my HTC Desire S using xda app-developers app
Click to expand...
Click to collapse
a l logcat would be handy for him http://forum.xda-developers.com/showthread.php?t=1726238
[Tutorial] How To Logcat
sent from the thing I stab with my finger when I've got two minutes
Hi, I hope this is what you beed.
build.board: saga
build.bootloader: 2.00.0002
build.brand: htc_europe
build.cpu_abi: armeabi-v7a
build.cpu_abi2: armeabi
build.device: saga
build.display: GRJ90
build.fingerprint: htc_europe/htc_saga/saga:2.3.5/GRJ90/156318.8:user/release-keys
build.hardware: saga
build.host: ABM030
build.id: GRJ90
build.manufacturer: HTC
build.model: HTC Desire S
build.product: htc_saga
build.radio: unknown
build.serial: SH17ETJ02936
build.tags: release-keys
build.time: 1320756877000
build.type: user
build.user: unknown
version.codename: REL
version.incremental: 156318.8
version.release: 2.3.5
version.sdk_int: 10
--------- beginning of /dev/log/system
--------- beginning of /dev/log/main
08-19 09:41:02.584 E/Finsky (24116): [1] LaunchUrlHandlerActivity.handleUrl: Launch URL without continue URL
08-19 09:41:09.551 E/tag (24301): No Activity found to handle Intent { act=android.intent.action.VIEW dat=content://media/internal/images/media }
08-19 09:41:14.176 E/tag (24301): No Activity found to handle Intent { act=android.intent.action.VIEW dat=content://media/internal/images/media }
08-19 09:41:17.819 E/tag (24301): No Activity found to handle Intent { act=android.intent.action.VIEW dat=content://media/internal/images/media }
.
Cheers Dean
Sent from my HTC Desire S using xda app-developers app
lobsterboy1 said:
No Activity found to handle Intent
Click to expand...
Click to collapse
can you open your gallery,then select multiple photos and then share via->Phorganizer ??
thank you all for testing guys...thanks a lot!
Yes I can do that no problem. The only time I get the error is when I click on the (TRY TO)open gallery button every thing seems to be fine.
Sent from my HTC Desire S using xda app-developers app
lobsterboy1 said:
Yes I can do that no problem. The only time I get the error is when I click on the (TRY TO)open gallery button every thing seems to be fine.
Sent from my HTC Desire S using xda app-developers app
Click to expand...
Click to collapse
Ok !! Sounds good...ans seems works fine...thanks for your time lobsterboy:beer:
Inviato dal mio Galaxy Nexus con Tapatalk 2

{DEV}[APP] Touchpads Fixer Application

Hello there Xperia PLAY forum!
So, after an entire week of work, I can release my first android application here:
it is an utility to enable touchpads on any rom that is supported (if you want me to support your rom, please post here) .
Description:
It is composed by 2 main apps (or code-talking by 2 main Activities):
A build.prop fixer
A flashable.zip extractor
The build.prop fixer basically modifies some of your build.prop values to match these values, in order to have a proper recognition of the device by games or apps.
The flashable.zip extractor extracts into your sdcard (into a path specified by the app itself) a flashable.zip which contains the fixed framework.jar and the Touchpads Activator app by farenheith for the rom you choose.​
Sources
Here​
APKs
Here​​
So here we are! If you find any bug just let me know.
Changes into v1.0.1:
updated a wrong string that I forgot to update lol
added credits to krisdee as well
Lol just saw a broken boolean: gonna fix this
Sent from my R800i using xda app-developers app
Changes into v1.0.2:
fixed a boolean value inside Fixer activity
would i be able to play the n64 emulator with the touch pads on gingerbread if i use this application?
|SavageD| said:
would i be able to play the n64 emulator with the touch pads on gingerbread if i use this application?
Click to expand...
Click to collapse
This app is meant to be used on Cyanogenmod (9 and 10) based roms, it won't fix touchpads on Gb :/
But there's a n64 emulator that allows u to use touchpads, i think it is called Mupen, unless you're using cm7
Sent from my R800i using xda app-developers app
Great work, why not run the cwm zip via exec after?
Sent from my Xperia Play using Tapatalk 4
fma965 said:
Great work, why not run the cwm zip via exec after?
Sent from my Xperia Play using Tapatalk 4
Click to expand...
Click to collapse
I thought of doing this way, but idk how to do it lol
Sent from my R800i using xda app-developers app
I did know but now I forgot xD
Sent from my Xperia Play using Tapatalk 4
fma965 said:
I did know but now I forgot xD
Sent from my Xperia Play using Tapatalk 4
Click to expand...
Click to collapse
LOL I'll search for a cmd that allows it
Sent from my R800i using xda app-developers app
CriGiu said:
LOL I'll search for a cmd that allows it
Sent from my R800i using xda app-developers app
Click to expand...
Click to collapse
i have no idea if this works but
/cache/recovery/command --update_package=/sdcard/my-rom.zip
followed by
adb reboot recovery
EDIT: i am looking in to making a android app for my kitchen and the option to auto flash a zip file will be useful to me aswell as you hence why i took some time to search aswell
Since you seem to know stuff, Can you let me know how i can run adb/shell commands in a android app thanks
UPDATE: this may also help http://forum.xda-developers.com/showthread.php?t=2250555 as the source is avaliable
fma965 said:
i have no idea if this works but
/cache/recovery/command --update_package=/sdcard/my-rom.zip
followed by
adb reboot recovery
EDIT: i am looking in to making a android app for my kitchen and the option to auto flash a zip file will be useful to me aswell as you hence why i took some time to search aswell
Since you seem to know stuff, Can you let me know how i can run adb/shell commands in a android app thanks
UPDATE: this may also help http://forum.xda-developers.com/showthread.php?t=2250555 as the source is avaliable
Click to expand...
Click to collapse
Well it's quite simple, but you can't use adb since adb executable isn't available on android, but still, you can use busybox instead;
the way I use to execute a cmd via, for example, a press of a button, is to define a Process and a Runtime.
Then you can obtain su permissions (in the OnClick method) by using the Process you defined, like this:
Code:
Process process = Runtime.getRuntime().exec("su" );
Then I use a DataOutputStream to exec other cmds (like mv or cp...)
Example to mount /system (where "//" starts comments:
Code:
[COLOR="Lime"]//Defining a DataOutputStream[/COLOR]
DataOutputStream os = new DataOutputStream(process.getOutputStream());
[COLOR="Lime"]//Using the defined DataOutputStream (os) to exec the command[/COLOR]
os.writeBytes("mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system\n" );
I'm busy these days, but ask me if you need anything (I'm not a java developer though lol)
CriGiu said:
Well it's quite simple, but you can't use adb since adb executable isn't available on android, but still, you can use busybox instead;
the way I use to execute a cmd via, for example, a press of a button, is to define a Process and a Runtime.
Then you can obtain su permissions (in the OnClick method) by using the Process you defined, like this:
Code:
Process process = Runtime.getRuntime().exec("su" );
Then I use a DataOutputStream to exec other cmds (like mv or cp...)
Example to mount /system (where "//" starts comments:
Code:
[COLOR="Lime"]//Defining a DataOutputStream[/COLOR]
DataOutputStream os = new DataOutputStream(process.getOutputStream());
[COLOR="Lime"]//Using the defined DataOutputStream (os) to exec the command[/COLOR]
os.writeBytes("mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system\n" );
I'm busy these days, but ask me if you need anything (I'm not a java developer though lol)
Click to expand...
Click to collapse
Great thanks, Im also not a java developer but some of the stuff is simple, i am also not a jquery or php developer but i can make the odd thing now and then
Thanks.
fma965 said:
Great thanks, Im also not a java developer but some of the stuff is simple, i am also not a jquery or php developer but i can make the odd thing now and then
Thanks.
Click to expand...
Click to collapse
YW man
Feel free to ask me, or look at my sources for a quicker help
Sent from my R800i using xda app-developers app
Hay will this app work in slim bean?
sent from my Sony Ericsson xperia play ™ (r800x) using Tapatalk 4
crazymonkey05 said:
Hay will this app work in slim bean?
sent from my Sony Ericsson xperia play ™ (r800x) using Tapatalk 4
Click to expand...
Click to collapse
If slimbean is based on cm10 (fxp228 and up) then it'll work, but make a backup to be 100% sure
Sent from my R800i using xda app-developers app
Touchpads
CriGiu said:
If slimbean is based on cm10 (fxp228 and up) then it'll work, but make a backup to be 100% sure
Sent from my R800i using xda app-developers app
Click to expand...
Click to collapse
Hiya I hope that you are still around, I am still interested in the xperia play especialy as it looks like kitkat will come out for it any time soon. I am having trouble with the touchpads on my xperia play
I have a Jellybean rom, called SONYCM10 FINAL perfect in every way BUT a major issue that i was not expecting.
Touchpad Activator which is included in the build fails to work when pressing the (activate just for this app) button, it came back with
Error 1: android.view.ViewRoot, the touchpads failed to work in anything
I then installed your touchpad fixer, i have clicked the framework and buildprop buttons and restarted into recovery mode (lupus jb v13) and installed from zip file the framework (I gather that this is how you flash it?). When i restart the phone and test the touchpads there is still no recognition AND when i go back into your fixer app it still says text in red that i have still not fixed my buildprop. I also coppied the framework manually into my system folder and overwrote the original with the new one just incase the installer was not working.
What am I missing? am I not flashing it properly or what? Again I did not flash but just installed from recoverymode the framework zip...
The only thing I can think of that I have not tried is to extract your buildprop somehow and manually overwrite the one in my system directory?
Any Help would be most welcome...
Will this work with Xperia Overlay™ ROM (Android 4.4.4 KitKat)?
dj___ said:
Will this work with Xperia Overlay™ ROM (Android 4.4.4 KitKat)?
Click to expand...
Click to collapse
Make backup
Flash/Install it
See for yourself
Post result here
Have a nice day
Vortelf said:
Make backup
Flash/Install it
See for yourself
Post result here
Have a nice day
Click to expand...
Click to collapse
Okay, gonna definately tell about the result

BUG report on s3 android 4.4.4

S3 i9300 video player bug:
https://dl.dropboxusercontent.com/u/...9/temp2/mx.txt
E/MX ( 5998): 5998 | Can't find symbol graphics #12: undefined symbol: _ZN12SkColorTableC1EPKji
THANKS TO: @JustArchi
Guihardrock said:
S3 i9300 video player bug:
https://dl.dropboxusercontent.com/u/...9/temp2/mx.txt
E/MX ( 5998): 5998 | Can't find symbol graphics #12: undefined symbol: _ZN12SkColorTableC1EPKji
THANKS TO: @JustArchi
Click to expand...
Click to collapse
Can explain the problem?
Getting "file not found" error in your link...!!
ktsamy said:
Can explain the problem?
Getting "file not found" error in your link...!!
Click to expand...
Click to collapse
The problem is that the player force close almost all the times(sorry for the link yesterday worked)
I think now work: https://dl.dropboxusercontent.com/u/23869279/temp2/mx.txt
Sent from my GT-I9300 using XDA Premium 4 mobile app
Guihardrock said:
The problem is that the player force close almost all the times(sorry for the link yesterday worked)
I think now work: https://dl.dropboxusercontent.com/u/23869279/temp2/mx.txt
Sent from my GT-I9300 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Guihardrock said:
S3 i9300 video player bug:
https://dl.dropboxusercontent.com/u/...9/temp2/mx.txt
E/MX ( 5998): 5998 | Can't find symbol graphics #12: undefined symbol: _ZN12SkColorTableC1EPKji
THANKS TO: @JustArchi
Click to expand...
Click to collapse
Can check it in SW mode?
ktsamy said:
Can check it in SW mode?
Click to expand...
Click to collapse
I can't open the video with the player but i can enter in the app so i change to s/w (local/red/audio) and dindnt work ( I tried reinstall but didn't work i sent the report through the app
Sent from my GT-I9300 using XDA Premium 4 mobile app
Recreate the crash, run MX Log Collector immediately after the crash, and post the error log here. The developer will take a look.
Guihardrock said:
I can't open the video with the player but i can enter in the app so i change to s/w (local/red/audio) and dindnt work ( I tried reinstall but didn't work i sent the report through the app
Sent from my GT-I9300 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Hi,
Sorry for late reply.
According to the log, MX Player is crashing just after calling FFmpeg function.
If you are using custom ROM, I think there might be conflicts with build option for your ROM such as float-abi.
Would you send me compiling option for your ROM if possible?
It is very unlikely, but there is a small chance to be fixed with latest test build because it is compiled with latest compiler unlike current release build.
https://sites.google.com/site/mxvpen/translation/test-build
Thanks

Categories

Resources