General :: CM KitKat Build - Add Prebuilt Package?

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.

General :: CM KitKat build - add prebuilt package?


Android :: How To Use Appt-rename-manifest-package During Ant Build?

Oct 17, 2010

I have an app with both a free & paid version. I have been using appt --rename-manifest-package from the command line to rename the package from one version to another. But, I would like to using ant to do builds. how to use the rename-manifest-package option in an ant build?

View 4 Replies View Related

Android :: Specify Package Name And Output Folder From - Generated Ant Build File

Apr 13, 2010

I dont want to hardcode the name of the package or where it lives when building an Android project with ant. Im using the build file generated by Android. What properties contain the output folder (bin) and package name (e.g. package.apk) ?

View 2 Replies View Related

General :: Build Kernel MT6577 - Can't Boot After Build

Feb 21, 2013

I have a phone with a MT6577. The vendor (Wiko) published the kernel source code. So, i'm trying to build it. I can get the zImage. I converted it to boot.img but i can't boot with it on my phone.build a good zImage? (if you want to try) : URL...

cp mediatek-configs .config
TARGET_PRODUCT=s9081 MTK_ROOT_CUSTOM=../mediatek/custom make
# sudo mtk-tools/repack-MT65xx.pl -boot zImage boot.img-ramdisk boot.img
MTK-Tools by Bruno MartinsMT65xx repack script (last update: 27-01-2013)
Repacking boot image...
Ramdisk size: 2046 blocs
Repacked boot image into 'boot.img'.

Here are the Warnings I got when compiling

mediatek/platform/mt6577/kernel/drivers/video/tvc_drv.c:61:5: warning: "FIXED_WVGA_PARAMS" is not defined
net/ipv4/tcp.c: In function 'tcp_nuke_addr':
include/net/ipv6.h:338: warning: 'in6' may be used uninitialized in this function
net/ipv4/tcp.c:3367: note: 'in6' was declared here
In file included from net/ipv4/netfilter/ipt_LOG.c:27:
include/net/netfilter/xt_log.h: In function 'sb_close':
[code]....

View 9 Replies View Related

Android :: Matching Prebuilt Kernel Sources

Jul 10, 2009

I have a recent "repo" copy of the platform tree and I noticed that the kernel sources included in it are incomplete. For example, the arch/arm/mach-goldfish directory is not present, but devices from this directory are present in the kernel that the emulator boots. How can I get a more complete copy of the linux kernel sources? Are there tags for lining up these sources with the prebuilt kernel that is shipped in the platform tree?

View 3 Replies View Related

Android :: Way To Use Prebuilt Toolchain With Configure / Make?

May 30, 2009

I'd like to know more about porting C applications to native ARM for use on Android devices. I can make simple programs using the prebuild toolchain which comes with the source, but how can I use this toolchain with applications which are more than one file and require configure and make? (I'm trying with Vim for starters).

View 2 Replies View Related

Android :: Including Prebuilt Java Classes Into Project

May 3, 2010

i'm trying to include a maven java project into my android project. the maven project is the greader-unofficial project which allows developers access to google reader accounts, and handles all of the http transactions and URI/URL building, making grabbing feeds and items from google reader transparent to the developer. the project is available here:

the code is originally written for the standard jdk and uses classes from java.net that are not a part of the standard Android SDK. i actually tried to manually resolve all dependencies and ran into a problem when i got as far as including com.sun.syndication pieces required by the class be.lechtitseb.google.reader.api.util.AtomUtil.java... some of the classes in java.net that are in the standard jdk (i'm using 1.6) are not in the Android SDK. in addition, resolving all of these dependencies manually is just ridiculous when i'm compiling a maven project that should be pretty simple.

however, i can use maven to compile the sources with no issue. how can i include this maven project, which is dependent on the complete jdk, into my android project in such a way that it will compile so that i can access the GoogleReader class from my android project? and for the record, i don't have the expertise to rewrite this entire api to work with the standard Android SDK.

View 2 Replies View Related

Android :: Strange Error When Building / Using Prebuilt Tool Chain

Jan 17, 2009

When I using default pre-built android-toolchain to build android on linux, the following errors occur: hucheng@hucheng-bj:~/temp$ uname -a Linux 2.6.18.5-gg42workstation-mixed64-32 #1 SMP Tue Nov 25 21:45:59 PST 2008 x86_64 GNU/Linux Have you met it before? Institute of High Performance Computing, Department of Computer Science and Technology,

View 2 Replies View Related

Android :: Package Manager Get Size Of An Installed Package?

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

Android :: Build Error Build/core/java.mk:20 On 2.2

Jun 24, 2010

I downloaded the Android 2.2 source code and try to build it. When I executed the make command, I got an error here like this build/core/java.mk:20: *** frameworks/ex/common: Invalid LOCAL_SDK_VERSION '8' Choices are: current 4 5 6 7. Stop. Then I changed the frameworks/ex/common/Android.mk to LOCAL_SDK_VERSION = 8 from LOCAL_SDK_VERSION = 7. Next place, build/core/java.mk:20: *** external/jsr305: Invalid LOCAL_SDK_VERSION '8' Choices are: current 4 5 6 7. Stop. I changed the external/jsr305/Android.mk to LOCAL_SDK_VERSION = 8 from LOCAL_SDK_VERSION = 7

Last one, build/core/java.mk:20: *** external/guava: Invalid LOCAL_SDK_VERSION '8' Choices are: current 4 5 6 7. Stop. I changed the external/guava/Android.mk to LOCAL_SDK_VERSION = 8 from LOCAL_SDK_VERSION = 7
By these changes the code started the compilation.

1. Why the error occured?
2. Changes which I did is correct or not?

View 3 Replies View Related

Android :: Android Installing A Prebuilt Binary Not Found

Jun 25, 2009

I'm trying to install a prebuilt binary in a custom Android image. For that I have copied it to a new directory in prebuilt/android-arm/ with an Android.mk file similar to this one:
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := binary_name
LOCAL_MODULE := binary_name
LOCAL_MODULE_CLASS := EXECUTABLES
include $(BUILD_PREBUILT)
So if I run make system_image binary_name, the binary file is copied to /bin/ in system image. And if I run the emulator I can see the binary file in /system/bin. The permissions are the same as the other executables (-rwxr-xr-x) and, according to file, this is an ARM binary (ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), stripped).But when I run it on the emulator, it says:
# binary_name binary_name: not found have straced it and this is what I can see: # strace binary_name execve("/system/bin/binary_name", ["binary_name"], [/* 9 vars */]) = -1 ENOENT (No such file or directory)But the file is there, and strace is able to find it.Any idea of what can be happening?UPDATE: As Kristof says, this is probably a problem of dynamic linking, but I don't have ldd for Android ARM.

View 1 Replies View Related

Android :: Can't Access Package Private Fields In Android.widget Package?

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

General :: How To Change SU Package Name

Oct 31, 2013

I want to change superuser package name, is there any tool beside apktool to do this?

View 1 Replies View Related

General :: How To Change APK Package Name

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

General :: Google Apps Zip Package?

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

General :: How To Rename Android Package

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

General :: What App Can Be Removed From Gapps Package

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

General :: Package File Is Invalid?

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

General :: How To Rename Package Of Published App

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

General :: Porting TW Package From Samsung ROM To CM?

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

General :: Package Was Not Signed Correctly?

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

General :: Package Is Invalid Happens All The Time

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

General :: Changing Package Name Of Settings APK?

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

General :: Package File Is Invalid - Facebook

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

General :: How To Install APK Files Without Package Installer

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

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 View Related

General :: How To Change Package Name (Soundboard Template)

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

General :: Nexus 4 And Note 8 - Package File Is Invalid

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

General :: HTC Sensation Update - Package File Is Invalid

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

General :: Get Recovery To Flash Root Package In First Place?

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







Copyrights 2005-15 www.BigResource.com, All rights reserved