General :: Proper Way To Remove Package From Source?
Feb 2, 2014
I am working on a custom CyanogenMod ROM (10.2) for my own use. I've managed to accomplish most of my goals. One thing remains: removing packages that I don't want/need from the build. Technically, I am able to do so already by modifying the Android.mk file of the package so that it produces errors during the build procedure, skips building the package, but doesn't stop the entire build process. However, that is just a lousy hack.
the correct .mk/.sh/.whatever files in the repository I would need to edit (there are probably several) so that I can skip building the packages I don't want included in my ROM? I want to avoid using a "kitchen" if I can. I won't actually learn anything if I use a kitchen.
View 1 Replies
Sep 5, 2011
i tried to create an android project for the first time in eclipse. i go to file>new>other>android projects. then a box opens called new android project. there i enter name, target . but... not matter what i enter to package name, it doesnt accept.
View 2 Replies
View Related
Apr 15, 2012
i have: CMW recovery, Kernel source code on local computer, full repo cm source + toolchains.
How to add my device tree, kernel source code to CM source and compile CM7 ROm?
View 3 Replies
View Related
May 24, 2013
set up the proper directories on my SD card? I just formatted it, and presently all there is is DCIM and LOST.DIR.
Where do I put Music, ringtones, documents, voice notes, and stuff like that?
View 1 Replies
View Related
Feb 12, 2009
i work on custom Application Manager and try to get the disk usage of installed package. So PackageManager.getpackageSizeInfo was removed from SDK on 0.9->1.0 update android.content.pm. PackageStats(String pkgName)(cacheSize, codeSize, dataSize) returns always "0" Size of phys. file (java.io.File) in "/data/app" seems wrong/not completely. Has anybody any solution to get the total disc space used by an installed package?
View 4 Replies
View Related
Jun 14, 2013
I need to batch apply a set of permissions to these two folders and all files contained within. I'm moving my ringtones to these so that they preserve upon an SD Unmount, but I need to know the proper command in Terminal Emulator to do so. The files need rw-r-r-
/system/media/audio/ringtones
/system/media/notifications
View 1 Replies
View Related
Jul 4, 2013
I have a son who is 11 and has 2 android devices one gift and one hand me down. He also has Google store play gift certificates redeemed on his account.I have a daughter who is 7 and she has one hand me down android device.
I tried setting Google play to require a password but I noticed "free" labeled items were still allowed to be downloaded. I want to monitor what my kids put on their devices so this was not an option as some of the goriest items are labeled as free. Right now I am using a parental control device that Blocks Google play altogether. The problem is I then have to go on the web to unlock their device just to allow them to browse the store to see if there is something they want and then I have to relock the device down.
What I REALLY would like is a program that lets them browse the store at their leisure but disallow ANY download without a password free or paid. Basically is there any program that allows for non full app blocking but does block any attempted download from the store without a password.
View 8 Replies
View Related
Mar 10, 2012
I have a Hotmail account and I downloaded the Hotmail app and set up my email. However, when I delete an email on the phone I would like it NOT to delete on the server. I have tried looking everywhere for this setting ("Never delete from server") on both the app and on the server itself with no luck. I noticed the native email app has this setting but I prefer to use the hotmail app. I have also tried K-9, and while I really like the UI it has not been reliable in delivering my hotmail (gmail gets delivered right away).
how to find the proper setting? Or is there not a setting like this yet?I have a SGS2(HD LTE) running gingerbread.
View 8 Replies
View Related
Apr 3, 2012
The issue I am experiencing is that the SurfaceView I am using flickers. Once in a while, the objects I draw flicker and they change their size or colour.
It looks like that sometimes the application skips my calls to 'Paint.setColor()' and the one to 'Paint.setStrokeWidth()'.
I have made methods which change the used paint and then, in order to try to fix this issue, to set it back to the default paint values. Still the issue persists. I have also read that the problem might be due to the double buffering. Is it the case? I am using this code for the DrawingThread:
I also tried to use a dirty Rectangle to try to see if the issue can be fixed, but still nothing. [I might not have understood what it actually does.
Code:
class DrawingThread extends Thread {
private SurfaceHolder _surfaceHolder;
private CustomView _cv;
private boolean _run = false;
[Code] .....
I have read somewhere I should draw on a single bitmap and then draw the bitmap on the canvas. I have tried several times but I cannot manage to do so.
View 9 Replies
View Related
Oct 7, 2010
I'm attempting to override an Android View class to tweak the functionality just slightly. But I need to modify a field that does not have a setter method. I've placed the subclass in a package called android.widget. Why can't I access any of the package-private member fields? I notice that the compiler says they "cannot be resolved," rather than not being accessible. Does this have something to do with how Android.jar is built?
View 2 Replies
View Related
Oct 31, 2013
I want to change superuser package name, is there any tool beside apktool to do this?
View 1 Replies
View Related
Jan 21, 2013
I just recently tried to upload an app to the play store that I made on a site.
But every time I try to upload the .apk it said that it failed to save changes, then it said that the package name is already on the store. Picture and apk are attached.
View 4 Replies
View Related
Jul 26, 2012
I'm looking for a zip file with every single google application. I use a lot of google apps and change devices very often and it would mean a lot to me. I've downloaded half a dozen files today claiming to be what I'm looking for but they each had less than a dozen apps.
View 2 Replies
View Related
Mar 11, 2013
How to rename android package.
i want rename my android package name.
tell me step by step how to rename package name.
View 7 Replies
View Related
Jul 2, 2012
i would like to just have minimal google apps
using gapps-ics-20120429-signed
under /system/app
removed talk.apk, voicesearch.apk, geniewidget.apk
I removed googletts.apk (can i remove tts folder in /system ?)
I'm wondering what is gallerygoogle.apk? already got default "gallery" app in my custom android ROM (AOKP build 40).
if I do not plan to sync my calender, I should have no problem removing googlecalendersyncadapter.apk? I'm using googlecontactssyncadapter.apk, but that should not matter?
I'm using lg p500 which has limited system ROM of 199MB, hence i need to squeeze out as much space as possible i do remove the "face*" folder in gapps as well.
View 2 Replies
View Related
Mar 24, 2014
I'm the developer of a French Android Application about handball french competitions, Hand Score.
Since my last update I've just published, many of my users are not able to download the update, or even reinstall the application. They got this message : "Package file is invalid"
But for unknown reasons, other users aren't faced with this problem. SO I really don't understand what is the origin of my problem and how can i solve it !
I ask some of my users to clean cache and clear data of Google Play application, but it didn't resolve it. So I am in a dead end...
View 6 Replies
View Related
Jun 11, 2012
I am been working a on an an android app called Inomail that is available on the android market. I have done an overhaul changing the background colours, buttons to blue and green neon colours, change all icons and change text such app name plus other strings elsewhere.
Everthing work fine and I am certain it will be popular download if published.
I have been using APK Manger and Eclipse and Java decompilers to convert smali to java codes.
I successfully signed with a private key and it worked but this the obvious problem renaming the package when changing it crashes. I done everthing including refactoring and renaming in Eclipse, also renamed all the package name to all sub packages but to no avail.
If rename tthe package name back to original name it works but changing it crashes.
Now I have done some search on here there also a code to the package name which the reason for it to crash and the best way it to use a rooted device which I have and install the app.
So my 2 questions where is the folder on smartphone would I find the file or code how to manage to rename package published app on the market and how?
View 1 Replies
View Related
Feb 1, 2014
I'm trying to port some package from Samsung ROM to CM following this guide and I'm stuck.I decompiled the package, removed TW dependency from the manifest and now I'm adding additional classes from TW framework into this package. Everything was smooth so far as I was getting rid of "class not found" and similar messages in logcat by adding the missing class and recompiling the package.When I try to run the app, I get the following message in logcat:
Code:
I/dalvikvm(30301): Could not find method com.sec.android.touchwiz.widget.TwAbsListView.isInDialog, referenced from method com.sec.android.touchwiz.widget.TwAbsListView.onHoverDrawableState
W/dalvikvm(30301): VFY: unable to resolve virtual method 9561:
[code]....
However, based on official documentation this method does not exist in this class.If I try to add android.view.ViewGroup and android.view.View from stock framework.jar into the package explicitly, I start getting "multiple definition" messages in logcat, and isInDialog still can't be resolved.So, I'm currently stuck.
View 1 Replies
View Related
Feb 13, 2014
I've uploaded my first apk to Google Play, made with processing 2.03.
I used this guide to sign: http:[url].....After a few hours, when the app was visible, when trying to install, I get the "package was not signed correctly". I'v tried it on another device rather than the one used for testing and I have the same issue.
1. is there a way to test apk's faster? It could take up to 12-24 hours for the new apk to be updated on Google Play, and that's what I have to wait to see if I now signed my apk correctly.
2. can you download the app and see if you get that issue?
3. does it matter what information you input when you create the release key using jdk? I mean, does google check against information you use in your Google Play publisher's account and then gives that error?
4. is there an alternate way of signing my apk?
I am using win 7 64 bit, latest jdk7 at the time of writing, latest android sdk with just api level 10 installed, latest version of apache ant (installed manually).
View 1 Replies
View Related
Sep 6, 2012
"Package file is invalid" might happen if i try to install any app from Google Play. Clearing Google Play cache and data works to no avail.
View 5 Replies
View Related
Feb 28, 2013
how can I change package name of com.android.settings to something else..I have edited the manifest file but after recompiling it gives me a bunch of errors...i want to install two Settings.apk 1st id original Stock Settings.apk and another GB Settings.apk which I obtained from source system.img but both have some errors and when I try to open something it gives me FC's Something works and something doesn't So if i have installed both the apk i can redirect bu editing apk files so i will not have any errors or FC's
View 1 Replies
View Related
Jul 3, 2010
alright so i see all of these new froyo roms from source, and i guess i have one that is not from source, but it runs fine. I guess what im going at is what is the advantage of having a rom from source compared to not from source.
View 4 Replies
View Related
Feb 28, 2013
I'm currently running Liquidsmooth Rom on my AT&T Galaxy SIII. I've got everything running fine, but when I go to install Facebook from the Play Store, I'm getting "Package file invalid" every time. I've tried clearing data from both the play store and the google play services, rebooted the phone into recovery and cleared cache and dalvik cache. The same thing happens no matter what.
Edit:After trying to download on LTE rather than on WIFI, it worked fine.
View 1 Replies
View Related
Jan 21, 2014
installing an Android app without using the package installer.
Is there any way of installing an app through any other means than clicking on the .apk file in the folder?
Would it be possible to manually extract the apk archive and move the files to appropriate folders somewhere in /root/?
View 1 Replies
View Related
Nov 25, 2013
I'm trying to build CM KitKat for the Optimus S/V (unsupported by CM). The build is crashing out trying to link libwebviewchromium.so.It gives dozens and dozens of errors like this: external/chromium_org/content/browser/android/browser_media_player_manager.cc:70: error: relocation overflow in R_ARM_THM_CALL
At the end it prints this:
collect2: error: ld returned 1 exit status
make: *** [/home/dbrown/cm11/out/target/product/thunderc/obj/SHARED_LIBRARIES/libwebviewchromium_intermediates/LINKED/libwebviewchromium.so] Error 1
It may be a problem with insufficient memory on my build machine (Core 2 Duo laptop with 3 gb ram). For the time being, or in case that's not the problem I'm looking for a work-around. I looked in the Android.mk file for external/chromium_org and saw this:
# Don't include anything if the product is using a prebuilt webviewchromium.
ifneq ($(PRODUCT_PREBUILT_WEBVIEWCHROMIUM),yes)
how can I add a prebuilt webview library so I can get past this error? I just want to get something built for now so I can test it. This would be the first successful build for this device.
View 3 Replies
View Related
Apr 11, 2010
I'm trying to make a soundboard to put on the android market. I downloaded a soundboard template from [URL]..., and it works great except I don't know how to successfully change the package name from "com.soundboard" to something else without making the project go all "error" crazy.
I click the package name in the the package explorer and click refactor and I change the package name, but then everything becomes an error because the package name is now different. How can I change the package name successfully so I don't get errors everywhere?
View 9 Replies
View Related
Aug 9, 2013
On both my Nexus 4 and Note 8, I'm having severe wifi issues. It's so slow. On my laptop, speedtest.net shows 35Mbps down, 7Mbps up. On Nexus 4 and Note 8 it's like 0.7Mbps down and 0.1Mbps up. I did the speed tests because I'm trying to download something off the Play Store and it's going 200KB/s!! Not sure what's going on because usually downloads are super fast, especially on wifi.. I can normally download a 2GB file in 10 minutes.
Other issues are "Package file is Invalid" and "Cannot download ... error 497" and "Error retrieving information from server"
I've tried clearing data and cache for Play Store and Google Services. I've tried removing my account and adding it again. I've tried unplugging this, unplugging that, restarting this, restarting that. The ONLY thing that has worked is using mobile data instead of wifi. AND using my phone to tether so my tablet connects to the phone's mobile data and I was able to download updates that way. But right now I'm trying to download a pretty big file on my phone and I'd rather not go over my data limit.
View 1 Replies
View Related
Oct 1, 2012
I am seeing an issue on my HTC Sensation when attempting to update Apps that I paid for in the Google Play Store. The exact message that I see when attempting to update these Apps is "Package File is Invalid".
Here is a bit of background to this issue -
1). My HTC Sensation has a custom ROM (Elegancia) installed, and I have now re-installed it (which is when these issues started).
2). I can install a ROM and update Apps through the Play Store just fine at the start
3). I install Titanium Backup and perform a restore (I have tried restoring only data & apps + data [starting from scratch and wiping the phone then installing the ROM again to test both scenarios])
4). Apps return to the state that they were in before I flashed the new ROM
However now whenever I attempt to update Apps I get the infamous "Package File Invalid" message ***
I have noticed when opening Titanium Backup that it alerts me that the "Android ID" has changed, it also gives two options, 1). Leave the new ID, 2). Restore the old ID
5). I tested the updating of Apps both whilst keeping the new "Android ID", and whilst restoring the old "Android ID", the ID (whilst I am sure is important) doesn't seem to affect whether or not Apps will update.
This issue only appears to be affecting Apps that I have purchased, and the Play Store still recognizes that I have purchased the Apps.
View 10 Replies
View Related
May 3, 2012
how rooting works. I read that stock recovery doesn't let us flash packages not signed by the manufacturer, and that's the reason for custom recoveries (they don't check). So my question is how do we get recovery to flash the root package in the first place? Or is it the fact that I have a Samsung with an unlocked boot loader?
View 2 Replies
View Related
Jul 17, 2012
OS: Ice Cream Sandwich
Device: Motorola Xoom
I am having issues with a simple service not running correctly. The logcat shows some force stopping on the installed apk. Also the broadcast receiver should listen to android.intent.action.ACTION_POWER_CONNECTED but it is not.
This all worked on froyo 2.2 on a samsung galaxy tab.
Here is the snippet from logcat when I do an 'adb install testService.apk:
Code:
D/AndroidRuntime(15251):
D/AndroidRuntime(15251): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime(15251): CheckJNI is OFF
D/AndroidRuntime(15251): Calling main entry com.android.commands.pm.Pm
I/ActivityManager( 153): Start proc com.android.defcontainer for service
[code]....
View 1 Replies
View Related