Hi I am trying to use a external project i got from github(AccordionWidgetDemoActivity) as library in my application. I made the project as library in eclipse adt and addeed the same library in my application. I have also added the application in the project buildpath. however I am getting the following errror when i try to launch the application
*[2014-03-15 05:19:35 - Sample] Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY [2014-03-15 05:19:35 - Sample]
Please check logcat output for more details. [2014-03-15 05:19:35 -
Sample] Launch canceled!*
In Log cat I am getting the following errro
**
*> Package com.example.sample requires unavailable shared library
com.sentaca.android.accordion; failing!*
**
I have added the library in android manifest as follows as package name in src folder in the library project
i have googled around and everythhing refers to google maps. I am a beginner in android and Request help
Thanks in advance
Be sure that you are including the library as part of the project, to do this go to properties->Android at the bottom you should see the library reference, if it is not there just click on add and select the library.
Also, go to properties->Java Build Path->Order and Export and check the library otherwise the it won't be uploaded to the device-emulator.
Hope this helps.
Related
i am facing much difficulty using crosswalk project with eclipse , is there any plugin for eclipse .
gone through their documentation which seems too complicated:
https://crosswalk-project.org/documentation/getting_started/windows_host_setup.html#Install-Ant
has anyone idea how to integrate and use it with eclipse
anyway i found one plugin for eclipse at :
https://github.com/crosswalk-project/crosswalk-developer-tools-eclipse-plugin
i followed below link:
https://github.com/crosswalk-project/crosswalk-developer-tools-eclipse-plugin
to create cross walk hello world project fro android .
now it creates blank project
facedetection
--index.html
--manifest.json
there are no java file and other .
how can i run this project ??.
If you have Eclipse and Android SDK already, you can install Crosswalk-Eclipse-plugin into your Eclipse. It supports to create an empty Crosswalk Application and to package it. More details refer to the link.
The project is a HTML5 applications. You just need to edit these two files. Please refer to https://crosswalk-project.org/documentation/getting_started/build_an_application.html.
After you edit your code. You can generate the android apk as follow:
Export Crosswalk Application
1.In Eclipse menu: Select "File->Export"
2.Select "Crosswalk/Export Crosswalk App" then click next
3.Input the required information then click "Finish" button
The you can install the apk to your device.
I'm using eclipse ADT (most recent version) to develop some android apps. I've followed the getting started tutorial at the dev.android.com and it worked just fine.
But when i tried to create another project with the same targets and sdk's, i've got nothing but errors:
Some errors and my sdk's:
That's the same sdk's i used before these errors started showing up.
What can be causing this?
EDIT: my project won't generate the R.java file
You might need to add a support library to your new project.
Check this link for downloading the support libraries -
http://developer.android.com/tools/support-library/setup.html#download
Please notice that you need to import them into your eclipse and then include one (preferably the newest, not sure about this) in your project.
EDIT:
Before downloading the support libraries you should first check if you have them already.
Try this, right click project folder in the eclipse package explorer, Properties>Android>Library>Add>select a library if you have one.
There might be an invalid library included in your project already, if that happens then you will see it in the Library>Add> menu, remove it and add a new one.
You might have clean your project ........
if yes.....you must check whether R.java file is present in **Project(your project)->gen->package name->R.java**
if not than u have to update Tool Folder in SDK manager
I'm an iOS developer trying to build an existing Android app on a Mac - yikes! I'm sure this is a simple question: I've got the project loaded in Eclipse, but it won't build due to the error:
"Missing required Java project: 'app.lib'"
Is this a standard Java library? Eclipse nicely displays a wizard to attempt to fix the problem by bringing up the Configure Build Path dialog - but where app.lib is listed as 'missing' -
Where do I get this library?
As far as I know, app.lib is not a standard Java/Android library.
Clean and rebuild your project
Close it and reopen it
Try to remove it on your build path and see if you can build your project without it.
i downloaded the example GWT MVP Contacts project from
google gwt mvp tutorial
and imported it in eclipse juno. when eclipse loaded it, i get the following error:
when i try to run this project the console gives me this error message:
Loading modules
com.myproject.example.places.Contacts
[ERROR] Unable to find 'com/myproject/example/places/Contacts.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
[ERROR] shell failed in doStartup method
before i downloaded this example project, i created my own project which i called "Contacts" too, but i deleted it from the workspace and after that i downloaded the gwt mvp Contacts example and imported it into eclipse.
What kind of error is this and how to remove it?
please help.
iam using eclipse juno and gwt 2.5 version
in your build file, under target "gwtc"
you may see the following like
this should be changed to proper values. Go to your src folder, under that you may find xxxx.gwt.xml file enclosed in a package something like com.google.gwt.sample.logexample. say inside this package you find the file LogExample.gwt.xml
your correct arg value should be
hope this helps
If you are using eclipse or similar IDE right click on project => Properties => Java Build Path, under Order and Export ensure all the entries are checked the errors should disappear
please refer to the image below:
So I'm trying to port some cocos2d iOS apps over to Android and it looks like WiEngine is the most fully featured port of cocos2d to android ( http://www.wiyun.com/web/wiengine ), however I'm having issues getting the skeleton project to run. The latest problem I'm running into is I get a "Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lcom/wiyun/engine/skeleton/Skeleton" error in the ADB. I'm trying to run it in the emulator which also may be an issue. I'm kind of stuck because i need to see if I can get certain things to work (particle effects etc) before i can justify a hardware purchase.
Originally I tried to import the Skeleton project into eclipse but ran into too many errors so i created a blank android project with the same package name as the skeleton project and added the libraries to the build path through properties>libraries>add external Jars
the project compiles but it crashes as soon as it tries to initialize the Skeleton class here is the console stuff:
http://pastebin.com/XAc0XYiA
Appreciate any help on this.
Thanks,
Nick
You have to include JNI accessible precompiled libraries to you project. You can find them on the SDK archive.
For running your WiEngine Projects you have to add the WiEngine Library which is available when you download it from Github.
https://github.com/stubma/WiEngine
You can add library:
Right click on your Project-> Properties->Android->Library->Add WiEngine