Android : Execute Error - Unavailable Shared Library
Dec 7, 2009When i tried to execute my project. It is showing error as:- Package pack.com requires unavailable shared library com.google.android.maps; failing!
View 2 RepliesWhen i tried to execute my project. It is showing error as:- Package pack.com requires unavailable shared library com.google.android.maps; failing!
View 2 RepliesI am taking over a project, and am trying to launch it in the Android Emulator. I get the following error in Logcat:
11-11 06:21:42.215: ERROR/PackageManager(58): Package com.android.xxx requires unavailable shared library com.google.android.maps; failing!
Console displays:Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY
How can I make sure com.google.android.maps is included in my project?
UPDATE:I am using a min sdk level of 3 in my androidmanifest.xml:
CODE:............
I'm getting an error when trying to use an external jar file to access Forward facing camera in Android. But when we try to load, i get error ""Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY" on my console window of myeclipse.
"
when i saw a log file, the error was "unavailable shared library com.sprint.hardware.twinCamDevice"
After installing the smokedglass v6 rom, it deleted some apps, when i try to reinstall the apps that got deleted, i got an error that says "Installation error, Missing shared library." i went into manage apps to make sure they aren't there, and i used root explorer to delete any trace of the apps, yet i still get this error.
View 3 Replies View RelatedI created a jni library which depends the third shared library, I must copy the third shared library to /system/lib, otherwise, Java application can't load jni library. But you know, on G1 with official OS image, /system/lib is readonly. I tried to call System.setProperty to set java.library.path to the location stored the thired shared library before load jni library, but the issue still exists.
View 6 Replies View RelatedI am developing a library for Android applications which does not use native code (JNI). I have tried suppling the library as an external jar in my Android projects but this method does not include the library contents in the apk and thus throws class not found errors when run in the emulator or device. I have also tried creating the library as an Android project in itself and this does work, but only for public static properties (not methods). With the library and application both being in separate apk's I can see that the VM notices references to the library and can read some properties, but when an attempt to instantiate a class in the library is executed I get class not found even though I can read the public static properties from it.
I realize that Davlik byte code is not the same as Java byte code but I am having trouble even finding good information about how to solve what would seem to be a very simple issue in Android. I am looking into the old PlatformLibrary stuff right now but I am not convinced this will work either since the sample has been removed from the Android site.
I am now writing a java application. On java side I use System.loadLibrary() to load my own native shared library( named a.so ). I want a.so can communicate with another native shared library(named b.so). When a.so and b.so are loaded in the memory, they belonged to 2 different process. I am not familiar with IPC in android and binder mechanism. How can I do to make a.so communicate with b.so?
View 3 Replies View RelatedI have several apps (each in its own apk, process etc) running at the same time on user's device.
these apps are all linked to a single common jar file (internally devloped) which contains a large portion of their overall code size.
is there a way for me to force Android to make this common jar load only once (e.g. into shared memory)?
the reason we want to do it this way, btw, are to reduction of each of the single apps memory intake, on disk footprint and possibly of their startup time.
we're developing applications that will use a single 'shared library' jar file. the jar file will be packed as part of the operating system (built & packed by us)several trials & errors & manual readings had led us to the conclusion that for our projects (both shared lib & dependent apps) to correctly compiled they must
(a) reside UNDER the mydroid source root and
(b) be compiled with the same java version as mydroid.
both a & b are somewhat inconvenient for us (the latter a bit more). is there a way around them?
I'm new to Android ndk and i didn't understand yet which are the differences between static and shared library. Could you explain me what these differences are? When developing a library how could i choose one of them?
View 1 Replies View RelatedI am currently moving from Xcode and iPhone development to Android with Eclipse. I want to have a shared code project so that I can store all the code to be shared across apps in one common library. However it would appear that the only android project available is for applications and not for code libs how can i achieve this?
View 4 Replies View RelatedIn my application, I want to use chm library.
Can anyone tell me How to build shared library (.so file) for chm reader in Android?
And which toolchain is used. what is the steps for building it?
I would like to extend the functionality of one of the shared native libraries called from within the android.jar code. How can I rebuild the affected shared libraries such that the android code can utilize my modifications?
View 1 Replies View RelatedI have a cross-platform C library that I need to compile for Android as a *.so file. The library consist of many .c and .h files, and it use autotools as it's buid system. (./configure && make dep && make). Afaik, the library does not depend on other libraries, other than libc and OpenSSL (which should be present on Andriod).
I'm trying to find the simplest (read fastest in terms or not needing to read hundreds of pages of manuals and then apply try && fail brute-force approaches to complete the task) way of getting the library off my machine in source code form, and into the Android phones as a .so. The library will eventually be accessed from Java's native library interface. For development, I have both Windows and Debian machines on my desk.
I would like to know why the size of my shared library .so is bigger than my .apk file generated with Eclipse? Approximatly the so size is twice the apk one. What is strange is after having installed it in the device (2.1 firmware) I checked the size of the apk when I uninstalled it from the device and surprisingly the apk size indicated is bigger even than the .so one. Is there any explaination of that?
View 2 Replies View RelatedService Temporarily Unavailable. The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
View 2 Replies View RelatedSo I used my phone as a storage-device connecting it to my computer via USB earlier today, and just now I notice that I can't browse my photos or music. It says:
"Your content is unavailable because your phone is being used as USB storage. Disconnect USB to access your content."
Before unplugging the phone earlier, I rightclicked the little icon at the bottom-right of my computer screen and chose "disconnect storage device", after which I received notification that it was then safe to remove the device. Is there something more I should be doing, a similar setting in the phone? Or did it just bug and I need a reboot?
I am looking for a music application for android that will allow me to stream from my music library that is on my NAS. I can share my music via CIFS/SMB, NFS or iTunes server. HTC Vision
View 1 Replies View RelatedWhen i am including the jaxp jar file i am getting the error as follows
Trouble processing "javax/xml/XMLConstants.class": [2009-05-08 16:53:18 - TestProject]
Attempt to include a core VM class in something other than a core library. It is likely that you have attempted to include the core library from a desktop virtual machine into an application, which will most assuredly not work. If you really intend to build a core library -- which is only appropriate as part of creating a full virtual machine binary, as opposed to compiling an application -- then use the "--core library" option to suppress this error message. If you go ahead and use "--core-library" but are in fact building an application, then please be aware that your build will still fail at some point; you will simply be denied the pleasure of reading this helpful error message.
CODE:..............
I am using HTC Magic (android os 1.5) for my development testing. When i try to run any map application it is saying the following error. installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY and after launch is canceled.
View 2 Replies View RelatedI'm trying to integrate the LVL to my app, and I followed the 'Licensing Your Applications' document [1].
For some reason I'm receiving the ERROR_NOT_MARKET_MANAGED error, although my app (package: org.jraf.android.logcatlivewallpaper) is indeed available in the Market.
I suppose I made a mistake is on my side but all I did is follow the document (I used the ServerManagedPolicy and the AESObfuscator), so I don't see what I could have done wrong.
I've moved some of my common code into a library project so that multiple projects can access it. I created an empty project, set it to be a library in the properties screen, then imported some classes. Next, I created a new (non library) project and added my new library project to it. Immediately upon rebuild, I get the following error: ERROR: Unknown option '--auto-add-overlay' Android Asset Packaging Tool
View 4 Replies View RelatedI'm trying to compile a static library to use on Android but I can't figure out how to compile it. The library uses standard libraries (stdio.h etc...) and libxml2.
I am trying to compile using arm-eabi-gcc but I get the following error:
/cygdrive/c/android-ndk-r4/build/platforms/android-8/arch-x86/usr/include/asm/posix_types.h:15:28: error: posix_types_64.h: No such file or directory
How do I get this to work?
I am trying the MapDemo application, but I am unable to launch the activity, it is showing following error message : [2010-06-14 12:11:49 - TryMaps] Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY [2010-06-14 12:11:49 - TryMaps] Please check logcat output for more details. [2010-06-14 12:11:49 - TryMaps] Launch canceled!
I have gone through the previous thread on this error, And I have already tried following suggestion : 1. Add maps.jar with Google API 2. and also mention the <uses-library> attribute in manifest file.
But still I am unable to launch the activity, in logcat it is showing that package <package name> requires unavailable shared library com.google.android.maps ; Ignoring.
Sometimes when I try to install custom roms with odin3 I get a Microsoft Visual C++ Runtime Library error. It always says: "This application has requested the Runtime to terminate in an unusual way. Please contact the application's support team for more information". Right now, I am trying to flash a custom rom and it is giving me this. Do I need to change something in the data.img or something?
View 3 Replies View RelatedI got one blog which interacts with servlets... Link as follows
http://groups.google.com/group/android-developers/browse_thread/threa...
In that program 2 libraries were used..
1---> import org.apache.commons.httpclient.HttpClient; 2---> import org.apache.commons.httpclient.methods.GetMethod;
When i check these libraries in my program, its show error....how to resolve this error?
I have an Android library project that makes calls to PreferencesManager.getDefaultSharedPreferences.
I have 2 version of my app, paid/free, and they are not able to access the preferences stored by the library code.
Can someone tell me the right way to store values in SharedPreferences in library code and have the values available to projects that include the library?
According to this SDK guide, unit-testing a Library project can be achieved by creating a standard application project, reference the Library project and then instrument the application for unit testing. However, when I do this and launch the test application I get the message.No tests found with test runner 'JUnit 3".I'm using Eclipse and the Android ADT plugin, all latest versions.the projects compile just fine. The test project also installs fine to the emulator. But in the console I can see that it looks for <library>.apk, which of course doesn't exist since I'm compiling this as a library into the test project.
View 1 Replies View RelatedAs I understand, the three ways of distributing my application are via Jar, Android Library and Android Library Project.Jar - cannot contain resources or XML layouts (so this is out for me)Android Library - I don't really know how this works but the Google API uses it..Android Library Project - includes resources but allows the client free rein on the code as it is distributed as source.If I am to create a closed source application that requires drawables and XML files that I want to distribute to other Android programmers, what should I use? And can someone direct me to a tutorial on creating an Android Library?
View 4 Replies View RelatedI'm totally new to developing apps for android and am just getting started in flash CS5. According to most tutorials that I can find on the web I need to install an extension from adobe.
see this tutorial
Creative Sweet TV - Publish to Android 2.2 from Adobe Flash CS5 | Adobe TV
However, when I go to adobe's site they say that the extension isn't available anymore and will be integrated with their new version of Flash!!!!
Adobe Flash Professional CS5 Extension for Adobe AIR 2.5 - Adobe Labs
I just bought a new Mac to run CS5 and can't believe that now it looks like I'll have to upgrade my software, at more expense, in order to do something that was possible only a short time ago!!