I have an issue with pdftron integration - android

I have an issue with pdf tron sdk integration I 've tried alone and that did not worked so i tried to run one of their samples but I ve always had 5 failed to resolve file error. They're documentation is not easy to read AND I did not undersand how to integrate their sdk via gradle or manually (I ve tried both). So If some one Had fully integrated their sdk I hope if they could send me a git hub repositorie or help with my issue.
ps : I am on android studio 3.0.1
this is a screenshot: the error

To get the project running, you need to click Build -> Clean Project as described in step 4 of the tutorial: https://www.pdftron.com/documentation/android/guides/faq/run-in-android-studio/

Related

Why do I get Gradle Sync Issues Host is down in Android Studio 3.5.1 on mac

I downloaded Android Studio and SDKs about 6 months ago to build to android in Unity. When I've tried to use Android Studio I get error: Gradle sync issues: Host is down. I've googled but can't seem to find anyone with a similar problem atleast not since 2 years ago. Nobody in my class has this issue either.
I unistalled all files related to gradle and Android with the terminal using the answer in this thread:
How to completely uninstall Android Studio on Mac?
I then installed it fresh with standard settings but I still get this error. Why do I get this?
Screenshot of error
PS. I haven't posted any screenshots because I don't know what is needed. If you need it, I'll be happy to post what is necessary.

Firebase is working fine on Unity3D Editor but have some dependencies issues on actuall Android devices

I am new to firebase. I tried to integrate firebase SDK 5.0.0 and firebase SDK 4.5.0 with Unity 2017.4.0f1 and Unity 5.5.3p4 it shows some error "Gradle failed to fetch dependencies". It is working fine on Unity Editor. I tried the quick samples and it successfully added data to database and auth is working fine on Unity editor but when I build an apk and run on actuall android device it doesn't work. It shows that "one or more firebase dependencies are not present". It have spent a lot of time googling the issue but haven't find any useful solution.
I solved this issue. In case if someone having this problem.
Please do the following:
1- Update Play service resolver
2- Delete the file located on "C:\Users{username}.gradle\wrapper\dists\gradle-4.2.1-bin\dajvke9o8kmaxbu0kc5gcgeju\gradle-4.2.1-bin.zip
3- Asset->Play Service Resolver->Android -> Force resolve
this will resolve the issue hopefully. worked for me.

Android Eclipse ADT build build process enters an unending loop

I have downloaded latest adt bundle for mac from android developers website. I do create a library project connected to main project and suddenly, Eclipse started to nag! I checked the build progress and I figured out that build process restarts at 40-50%.
I have captured a screenshot:
Some people suggested to disable Build Automatically. After doing this, the project builds and runs OK but I have to build manually after every little change and it's boring.
I am using Eclipse IDE for android Developers version 23.0.2.1259578.
Android SDK Manager details:
What is the cause of this misbehavior? What is a good solution? Any idea?
This was my solution for this issue I have posted a few month ago,
https://stackoverflow.com/a/24631434/2970351
Also try other solution in that page if it didn't work for you.

Could not find apk with ibm worklight

This is my first time learning IBM Worklight, so please bear with me. I was following this tutorial, however i stucked in page 14, where the tutorial tell me to "run as android project" so the project will be run on android simulator.
This is the error i got :
Could not find HelloWorklightHelloWorklightAndroid.apk!
What should i do? I also have watched this video, and everything works fine in that video (no error like mine)
Thanks for your time, any help is appreciated :D
The answer is because a BUG in ADT 22. I need to upgrade the ADT to latest version and install Android Build Tools.
The way to solve this bug (and get things working )is in my another question (which share the same problem, because i use a same android sdk) :
Eclipse Juno/Android broken, the debug is wrong and gen folder not created (R error)
EDIT
After that, you probably will get CLASSNOTFOUNDEXCEPTION because (again) ADT 22, so you need to do (a little) more things in this IBM link
Clean the project and build it again it works.

Stella SDK convert to android

I'm trying to use the stella SDK to convert my iOS app made in cocos2d 1.1 rc0 to an android project. When I use the method on here: http://www.yeecco.com/support/docs/getting_started#portingiosprojectswithstellasdk
I get the error: Lexical or pre-processor Issue: 'GL/gl.h' file not found
This occurs even when I follow part one of the tutorial in which you convert the GLSprite test project to an android project. I have no idea how to solve this issue, especially as the issue is occurring in the same file that it says isn't included!...
Here's a screenshot
The problem has been tearing me. And I finally found the SDKROOT should be OS X 10.7 .
Set TARGETS-> Build-> Settings-> SDKROOT-> OS X 10.7.
And then install X11 http://xquartz.macosforge.org/landing/
after installing, you log out of account from mac, log in again and run this project.
That's all!
I found a fix.
On the Xcode project generated by StellaSDK, set the Base SDK for the target to OS X 10.7. Then add this to the “Header Search Paths” field in your target's build settings:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/X11/include
You will also need to install XQuartz following Apple instructions for it to work.
Cheers!

Categories

Resources