I am using the apdfview project which is on this site
http://code.google.com/p/apdfviewer
but I cant build the source project because it tells me it can't find a library libpoppler_jni.so and I cant find it, and although I have the source code in C, I don't know how to build it and generate it.
Can anyone please help me?
You need to install the NDK and run ndk-build on the project to generate that .so file, from what I can tell.
Related
I have a problem importing the PagerSlidingTabStrip library into Eclipse, I get multiple errors and I know this happens because the library was built using gradle.
I tried to follow this answer but I can't find use as source folder in the build path menu.
I've never used gradle previously and don't know how to go about this in Eclipse. Please guys, help most of us who have this problem out of our dilemma. Would be very grateful.
Okay in the end this was what i did:
I checked the build.gradle file of the library for target and min sdks. I then put what i found in the android manifest.xml which I know Eclipse uses.
I deleted the build.gradle and gradle.properties files.
Made sure the project was marked as a library. And it works!
I think the most crucial step was to check the build.gradle for the sdks and whatever else the project requires and replicating that the way it should be in the manifest file.
I am using android studio to import this project called https://github.com/Pixate/pixate-freestyle-android. However when I import it into android studio the folder under samples, freestyleshowcase doesnt seem to build. The other 2 samples buld correctly. There is a red circle around the java file with a J (error) but there is no error in the file itself. COuld someone please help me out?
You are obviously missing some libraries but it is going to be hard for anyone to tell you which since we do not know the libraries the project needs.You can try Build-->Rebuild Project or Build-->Clean Peoject if it still doesn't work, close and open Android Studio.
If that doesn't work also then you have to go the hard way of identifying the libraries need by the project samples you imported and see if you have them.
When in doubt, you can try the Library Dependency option (using Maven) as demonstrated here:
https://www.youtube.com/watch?v=6BUcx9gGQ3o
That way, you won't have to manually edit the build.gradle file.
when I import the cocos2dx android project in my eclipse I get this warning on my header files
Unresolved inclusion: "cocos2d.h"
Why is this? Its actually bugging me. The project compiles and runs correctly but I want that to go away. Can someone tell me how to remove that warning and also I want the intellisense feature for my c++ projects in eclipse. I have that feature for my android stuff but not for c++.
Please guide me. Thanks in advance :)
Add cocos2d-x resource to your Eclipse
Right click your project and choose Properties
Find Java Build Path
Find Link Source Browse under Source Tab
Add $COCOS2DX-HOME/cocos2dx/platform/android/java/src/ and fill cocos2dx src in Folder name
Reference:
http://www.raywenderlich.com/33750/cocos2d-x-tutorial-for-ios-and-android-getting-started
If it's Cocos2dx v3.0, the answer above is not correct. Please check my answer at this: Many Errors with cocos2d-x-3.0 project creation
Salam, I have a complete source code, but I want to make an obfuscated .apk. I have read all topics, but this didn't help me. Please help! I am using eclipse for development. Here is the details about my app.
Android SDK folder : C:\Android\android-sdk-windows<br>
Project Folder : C:\Android\workspace\HijriCalendar<br>
Ant Folder : C:\Android\ant<br>
proguard folder : C:\Android\proguard<br>
main activity : hussain.Musaji.HijriCalendarActivity.java<br>
Please anyone tell me step by step procedure to make obfucated .apk
Thanks in advance.
I'm developing an Android application using Eclipse. But for building an obfuscated apk, it was more helpful to use the ant build instead. Here is what I recommend:
Use the latest version of Proguard which may not be the one integrated in your Android SDK version. Install it wherever you want and add the following line to your local.properties file to use it: proguard.jar=C:/yourpath_to_pg/lib/proguard.jar.
This article gives a good overview on confugring proguard for Android applications.
If you are using LVL for managing your applications's licensing, please refer to
this article.
You may also use proguard when building your application in debug mode by invoking ant as follows:
> ant debug -Dproguard.enabled=true
As Nunonix already mentioned, it may be helpful to see your proguard.cfg file.
Hope, this helps you.
I want to make business card scanner application in android. I have these all dependence module
1) windows xp
2) cygwin (compiler)
3) eclipse
4) android-ndk
5) android-emulator
Now , the main problem is with the help of android ndk and cygwin when I compile ocr project . It gives me error like this :
ld.exe : cannot find -ljpeg
plz help me to solve it. .I think i am very near to complete project. any help great appreciate. thanks.
Your problem is that libjpeg doesn't seem to be installed in your cygwin environment. You should either add it from the cygwin installer or compile/install from sources. You can get source code here: http://sourceforge.net/projects/libjpeg/files/libjpeg/6b/jpegsr6.zip - and compile/install it following the instructions in the install.doc file in the zip file. After that you should be able to compile your project.