Android :: APK Installation Fails / Package Conflict

Mar 24, 2009

I'm testing an app I'm developing and asked a friend to install on their device. I wanted to make it as easy as possible for them to help me out so I put the .apk up on my website for them to download to the phone (rather than making them download the SDK and use adb to install). The install of the downloaded .apk fails, complaining of a package conflict.

I have since gotten my hands on the phone briefly and I verified that:
* they have selected "allow unsigned apps" in settings
* there is no package with the same (or similar) name in data/data * installing via adb works with not a peep
* when I download the .apk to my phone the app installs fine.
It would be really nice to make it as easy as possible to distribute to people who might be willing to do me the favor of testing.

Android :: APK Installation Fails / Package Conflict


Android :: ADT Plugin For Eclipse Installation Fails

Dec 5, 2009

I just resuscitated an old laptop, wiped out the old corrupted XP, installed Ubuntu 9.1, installed Eclipse 3.5.1, installed the sun-java6- jdk from the Synaptic Manager, then I tried to install the ADT as described in
http://developer.android.com/sdk/eclipse-adt.html,
but the installation fails with the following message:

Cannot complete the install because one or more required items could not be found. Software being installed:
Android Development Tools 0.9.5.v200911191123-20404 (com.android.ide.eclipse.adt.feature.group 0.9.5.v200911191123-20404)
Missing requirement: Android Development Tools 0.9.5.v200911191123-20404 (com.android.ide.eclipse.adt.feature.group 0.9.5.v200911191123-20404) requires 'org.eclipse.wst.xml.ui 0.0.0' but it could not be found.

View 5 Replies View Related

Android :: Display Message Right After Package Installation?

Nov 15, 2010

I developed a Android-Homescreen-Widget and got a weird problem: The "Open"-Button in the Market grayed out because there is actually no Application to launch. So, many people complain because they don't realize that my package is a widget. They even give me a bad rating and I want to avoid that by giving the people a hint what they should do. A first-line-hint in the description (written in Uppercase) didn't help at all, so I'm searching for a better solution. Is it possible to display a message directly after the installation of a package in the android-market?

View 1 Replies View Related

Android :: Wrap Multi APK Into One Installation Package?

Oct 13, 2010

Now have some APKs, and want wrap these APKs into one installation package. How to do it?

View 4 Replies View Related

Android :: Control Package Customized Installation In Phone

Jan 14, 2010

Is it possible to control the package installation process in Android?The problem is that I'm asked to install and uninstall packages without using the default android installer. I need to control the entire process within my application. I already have my application in the /system/app/ folder, I also have been looking to the source code of the installer, but can't find a way to start installing or uninstalling a package on my own

View 1 Replies View Related

Nexus :: YouTube Installation Unsuccessful - App Fails To Download

Oct 27, 2010

I'm very excited by prospects of Gingerbread being on the horizon and possible new nexus! Can anyone help with the reason why the YouTube app may not download successfully? I am on version 1.6.21 by cannot update to latest version.

View 3 Replies View Related

Android :: Installation Unsuccessful - Package File Was Not Signed Correctly

Apr 6, 2009

I published my app on the market, and when I first tried installing it from there, I got the 'package file was not signed correctly' error. Uninstalling the unsigned version I was testing with let me install from the market with no problems. However, from the comments, it looks like no one else can install my application.

I've put other versions up that worked, and I used the same certificate, so I'm pretty sure it is not an issue with the validity days for the certificate.

The name of my application is Bloxors. It will be going up and down as I try to figure out what the issue is here, but if someone else who is getting the error can debug it it would be greatly appreciated.

View 3 Replies View Related

Motorola Droid :: Installation Error - Package File Was Not Signed Correctly

Mar 18, 2010

i just installed an update to google maps. then i tried to open the maps and a screen popped up that says: Installation error: package file was not signed correctly.
This same exact thing popped up in google maps when i first opened it after flashing to smoked glass v6. but it worked fine. this time though it just made me reinstall google maps and it will not install. whats going on?

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 :: Resource In Conflict

Sep 4, 2010

My application has resource conflict problem. Did some investigation, seems like all the resources within the apk file are cached after they are loaded on demand. The cache is stored in Resources.java mDrawableCache. The key to retrieve the drawable from this cache is combining the data and assertCookie fields of TypedValue class. In my application, there are 2 resources, ex. a color background and image drawable, evaluated to the SAME key value.. So just wondering, how can it happen?BTW, I am using eclair SDK.

View 2 Replies View Related

Android :: AllowTaskReparenting And FLAG_ACTIVITY_CLEAR_TOP Conflict

Dec 14, 2009

I am using Android 2.0 and have the following situation:

CODE:..........

This activity belongs to a task that has a service running and is usually not killed, so even when I am in the home screen I see the task running on DDMS (I will call it Task A).

It is possible to start Activity A from another application (running on Task B). When it is launched, I assume Activity A is "reparented" to the Task A. I assume that, because the debugger stops on the breakpoint I have set on onCreate and I am debugging Task A only. Please, advise if this is not correct.

So at this point, as far as I can tell, Task A has only Activity A. When in this situation, the service running on Task A receives some event and puts a notification on the Notification bar. This notification, if clicked, will send an Intent that also starts Activity A (this Intent has flags FLAG_ACTIVITY_NEW_TASK and FLAG_ACTIVITY_CLEAR_TOP).

Now to the problem, what I expected is that, because of the CLEAR_TOP flag, Activity A would be destroyed and recreated, as it has standard launch mode. But what I observe is that another Activity A launches on top of the previous one. When I click BACK on the new instance of Activity A, the old instance is redisplayed, what for my use case is wrong. Note that this only happens when launching Activity A from another application. If I launch it from my application and click on the event on the notification bar, it is destroyed and relaunched.

View 2 Replies View Related

Android :: SMS BroadcastReceiver Conflict With GPS LOCATION_SERVICE

Mar 1, 2009

SMS BroadcastReceiver conflict with GPS LOCATION_SERVICE.

Code is here:

CODE:.................

View 2 Replies View Related

Android :: Do Locale / Power Manager Conflict?

Mar 6, 2009

I just downloaded Locale and have the free Power Manager. My question is, do they conflict on settings, and do I have to disable one to get the other to work correctly?

View 4 Replies View Related

Android :: HTC Hero / Vista Sync - Settings Conflict?

Nov 5, 2009

After 3 install/uninstall/install attempts my phone is syncing with my vista laptop, but the my outlook 2007 calendar and contact information only goes one way, from the laptop to the phone. I can't find the settings (conflict?) that will allow the two devices to swap info.?

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

Nexus :: Conflict Free Phones?

Mar 1, 2010

I saw some report on the metals that are used in all cell phones and are fueling the conflict in Congo.

View 4 Replies View Related

HTC EVO 4G :: Pandora / Google Maps Conflict?

Jul 24, 2010

I was listening to Pandora and decided to open up Google maps (In the car). And I noticed that in Gmaps it wouldn't give me an accurate reading and by accurate meaning when it says "accurate to 3 meters". It would say "accurate to 1000 meters" or to 1200 w/e. So i closed Pandora and opened Gmaps and right away it gave me an accurate reading of 3 meters.

So I believe you cant run Gmaps accurately if you're listening to music on Pandora? Or is it just my phone? Try this and let me know what u get.

View 3 Replies View Related

Motorola Droid X :: Conflict Between LauncherPro And WidgetLocker?

Aug 15, 2010

Today I rebooted my phone and LauncherPro got stuck starting, only displaying a window in the top left corner, like it couldn't finish rendering the preview screen, and it never starts on that anyway. I was totally stuck without access to the menu buttons but still had the notification for WidgetLocker, so I was able to get to that, unlock it, restart the Moto launcher, and disable WidgetLocker. Now that it's disabled, I seem to be able to make LauncherPro my home again, but it looks like I'll have to disable WidgetLocker, which I really liked.Not sure what else could be causing the problem - probably something to do with WidgetLocker's home launcher sub-app.

View 11 Replies View Related

HTC EVO 4G :: Latest OTA Resolve Bluetooth Wi-Fi Conflict Issue

Jun 30, 2010

For the people who HAD the blue tooth issue where you get random dropouts of blue tooth when Wi-Fi is on, did the latest update fix this?

If you never had a blue tooth issue, that's awesome and I'm happy for you! But please don't clutter up this thread with "no problems" comments.

View 1 Replies View Related

Motorola Droid X : Overclocking Apps / Should Remove One So They Do Not Conflict?

Nov 21, 2010

Sorry for a new thread but I was afraid my question would not be seen because of the size and age of the other thread. I was using the DX/D2 overclocking app and decided to download the Droid X/2 overclock so now I have 2 overclocking apps. Should I remove one so they do not conflict?

View 1 Replies View Related

HTC Desire :: Contacts Icon / Photo Conflict / Phone Vs FaceBook

Jun 13, 2010

i've just upgraded to the Desire & am liking many things in it, but this issue bugs me:i've synced & linked the contacts in my 'people' app. in some cases, this involved linking the FaceBook profile of a person with a pre-exisitng phone number in my phone/sim card.The problem is that the phone seems to default to the Facebook 'profile picture' as the icon/photo that shows up in my People app (for that contact), even if tell it not to.I've tried downloading new pics, or taking a photo with the camera, and then manually setting this as the 'icon' for a certain person. This works for a while (a few hours?) and then within one day, the phone automatically re-sets this icon & replaces it with the Facebook profile pic. again.

View 17 Replies View Related

General :: Contact Pic Resolution JB / ICS - Conflict 2 Devices And 1 Google Account

Sep 12, 2012

I've got a smartphone running Jelly Bean. As I like the gmail contact photos very much, I was happy that one new feature of Jelly Bean is the fact that the contact photos are synced with Google servers in hi-res (720x720). I spent a good deal of time replacing the awful downsized pictures with new hi-res pictures. They sync in 720px, everything fine, so far.

Where my problem begins: Within the next days I expect the arrival of my new tablet. It's a low budget one (Arnova 10b G3) which runs Ice Cream Sandwich and which maybe won't ever get a Jelly Bean firmware.

I'm in a conflict now: On the one hand, I'd like to use the tablet with my Google account and not create a dummy account or something like that. This would spoil much of the usability of the account. On the other hand, I don't want to destroy my hi-res contact pics because one Google sync under ICS would downsize them forever and I guess they would again sync downsized to my Jelly Bean phone.

Is there maybe a hack that prevents Google from syncing the contact pictures? In this case, I could use the Google account on the ICS tablet just without contact pics. The downsized pics are rubbish anyways if one's display has a proper resolution.

Or, can one prevent Google from syncing the contacts after setting up the account? I know that the contact sync can be unchecked in the settings but as far as I know, that doesn't prevent the initial sync.

View 1 Replies View Related

Android :: Android - Avoiding Conflict Of Setting Text Field Values

Nov 17, 2010

I'm writing an Android application that allows a user to maintain a list of products. In the EnterProductData activity, the user can enter information about the product into form fields, which will then save the info to a SQLite DB. The EnterProductData activity also allows the user to initiate a barcode scan via the Barcode Scanner app in order to capture the UPC code. The problem I'm facing is trying to set the value of the UPC text field in onActivityResult() once the barcode scan activity is complete and returns the value.

What is ending up happening is my onResume() method is calling a function (populateFields()) that sets the values of the text fields to whatever is currently saved in the DB. And this seems to be happening after onActivityResult() is called. This means the scanned UPC is set as the text field value, only for an empty value to be set to it immediately after. The line of code to blame is commented with asterisks next to it. I imagine that if I immediately save the scanned UPC to the DB in the onActivityResult() method, I can avoid this problem, but that doesn't seem to be the best practice, in my opinion. Can someone advise me on what I should do?

EnterProductData.java
public class EnterProductData extends Activity {
private Button mScanButton;
private EditText mUPC;
private Button mSaveButton;
private Long mRowId;
private DbAdapter mDbHelper;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
mDbHelper = new DbAdapter(this);
mDbHelper.open();
setContentView(R.layout.enter_product_data);
mUPC = (EditText) findViewById(R.id.UPC);
mScanButton = (Button) findViewById(R.id.scanButton);
mSaveButton = (Button) findViewById(R.id.saveButton);

mRowId = (savedInstanceState == null) ? null :
(Long) savedInstanceState.getSerializable(DbAdapter.KEY_PRODUCT_ROWID);
if (mRowId == null) {
Bundle extras = getIntent().getExtras();
mRowId = extras != null ? extras.getLong(DbAdapter.KEY_PRODUCT_ROWID): null;}
populateFields();
mScanButton.setOnClickListener(new View.OnClickListener() {
public void onClick(View view) {
IntentIntegrator.initiateScan(EnterProductData.this);}});
mSaveButton.setOnClickListener(new View.OnClickListener() {
public void onClick(View view) {
setResult(RESULT_OK);
finish();}});
}private void populateFields() {
if (mRowId != null) {
Cursor product = mDbHelper.fetchProduct(mRowId);
startManagingCursor(product);
mUPC.setText(product.getString(
product.getColumnIndexOrThrow(DbAdapter.KEY_UPC))); //******}
}@Override
protected void onSaveInstanceState(Bundle outState) {
super.onSaveInstanceState(outState);
saveState();
outState.putSerializable(DbAdapter.KEY_PRODUCT_ROWID, mRowId);
}@Override
protected void onPause() {
super.onPause();
saveState();
}@Override
protected void onResume() {
super.onResume();
populateFields();
}private void saveState() {String upc= mUPC.getText().toString();
if (mRowId == null) {
long id = mDbHelper.createProduct(mRowId, UPC);
if (id > 0) mRowId = id;
}} else {mDbHelper.updateProduct(mRowId, UPC);
}}protected void onActivityResult(int requestCode, int resultCode, Intent data) {
switch(requestCode) {
case IntentIntegrator.REQUEST_CODE: {
if (resultCode != RESULT_CANCELED) {
IntentResult scanResult = IntentIntegrator.parseActivityResult(requestCode, resultCode, data);
if (scanResult != null) {
String upc = scanResult.getContents();
mUPC.setText(upc);
}}break;
}}}}

View 1 Replies View Related

Motorola Droid : Does Spare Parts 'Task Management Conflict At All With AutoKiller

Jun 4, 2010

I notice that Spare Parts came with a Task Management option. I was wondering if anyone has seen a conflict between using Spare Parts and AutoKiller which seems to have the same job except with more features?

View 11 Replies View Related

General :: Samsung Galaxy S2 - Synching With Two Exchange Servers With Security Policy Conflict

Jun 8, 2012

I have an SGS2 with the latest ICS release (rooted). I work with two companies supporting sync with the exchange server (2010) on a smartphone.

I can set up both exchange servers at the same time. The first day the both work, but on the second day one of the two (so far always the same) start giving me connection errors, and will no longer sync emails.

I am almost sure that the problem is that for security reasons, both want to have their security policy (admin privileges etc) enforced over my phone, and when they re-check daily they find that the policy is not as they want it. to overcome this?

View 2 Replies View Related

Android :: Adb Remount Fails On 1.5

May 13, 2009

I have upgraded my phone's images to Android 1.5 images (from http://www.htc.com/www/support/android/adp.html) Now when I try commands like adb remount, chmod, adb push etc I get "Operation not permitted" and "Permission denied" errors

I was able to give this command when I had 1.0 images flashed on my phone.

Has something related to permissions changed with Android 1.5?

View 2 Replies View Related

Android :: App Fails To Launch?

Apr 16, 2010

I'm trying to do is open a very simple application that is supposed to do nothing but display an imageView above a textView. The application worked fine until I added the imageView so I'm assuming my problem has something to do with that.

Here is the code:

CODE:............

Here is my layout -> main.xml

CODE:....................

When I try and run the app in Eclipse through the Emulator the emulator gives me the following error:

The application Application Name (process.com.isi.sa) has stopped unexpectedly. Please try again.


The Console log in Eclipse shows the following messages:

CODE:.......................

View 1 Replies View Related

Android :: SDK Fails To Install ?

Jan 6, 2010

When I try to install the android SDK it fails to install.

My OS is Windows XP. I just downloaded and installed Java JDK 1.6 Java -version from the command line returns: http://stackoverflow.com/questions/ask java version "1.6.0_17" Java(TM) SE Runtime Environment (build 1.6.0_17-b04) Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)

My environment vars have: JAVA_HOME=c:progra~1javajdk1.6.0_11. I downloaded android-sdk-r04-windows.zip. I unziped it in V:AndroidInstall

When I go to the V:androindinstallandroid-sdk-windows> and type "SDK Install.exe" nothing happens...If I go this from graph

When I do this from a graphical file viewer I get a quick flash that looks like a command line window and nothing....

When I try to run android list targets from the tool directory I get:

Error: Error parsing the sdk.
Error: V:androindinstallandroid-sdk-windowsplatforms is missing.
Error: Unable to parse SDK content.

So the basic install setup is not happening.

Additional clues:

I have a G1 and Android 1.0 was running on this machine. (Almost a year ago) I've updated my G1 to 1.6 so I thought I'd update my SDK before starting new development.

When I tried to upgrade it tried and then died as the "directory was in use"
So I cleaned out all the android directories, rebooted and redownloaded everythign from scratch.
Now it won't run at all.

I've clearly got something in an unhappy state, but I've cleaned up all the directories and no remanants seem to be running I've rebooted....

View 3 Replies View Related

Android :: SAXParser Fails On Some RSS Feeds

Feb 28, 2009

I'm using the SAX parser to read some RSS feeds and have found a problem. Some feeds, for example CNN Money Top Stories, have embedded some characters in their content, i.e. the copyright symbol. Well, that's not valid XML and the SAX Parser fails with an exception "invalid token". The only help I have seen given is to fix the XML at the source and that's not an option obviously. So, I can think of 2 options and they both stink:

(a) read the content first, scrub it, and then pass it to the parser.
(b) Use DOM instead of SAX.

What I *want* to do is make the parser a little more forgiving and just accept or discard/ignore the bad text. I'm not have any luck with setErrorHandler. My error handler does not get called.

View 7 Replies View Related

Android :: Camera Prepare Fails

Sep 10, 2009

I'm trying to build a simple video recorder for an Android device and I've had limited success and mixed results. It worked once, but now, without changing anything, I'm getting a "Camera is not available" error followed by "prepare failed -2147483648" error.

View 1 Replies View Related







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