Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

build fails with missing jar file

More
10 years 4 months ago #10591 by arlomedia
I just updated Android Studio (Mac) from version 2.0 to 2.1.1 and the latest build tools (23.0.3) and Gradle (2.10). Now when I try building my project, it fails with this error in the Gradle console:
Code:
FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:compileDebugJavaWithJavac'. > java.io.FileNotFoundException: /Users/arlo/projects/myproject/android/MyApp/app/libs/com.radaee.pdfex_view.jar (No such file or directory)

I purchased a source code license for RadaeePDF, so I have the source Java files for pdfex and the rest in my project, but I never had a Radaee jar file in my project. This always worked fine until something changed in Android Studio or Gradle. Do I need to add these jar files, and if so, where can I get them? Or do I need to change something in my project settings to make it work like it did before?
More
10 years 4 months ago #10592 by arlomedia
I just found that my build configuration file included
Code:
compile files('libs/com.radaee.pdfex_view.jar')

even though I never had that jar file in my project. I removed that line and now my app builds again. Something must have changed that makes those dependencies required now. Is there a benefit to adding this jar file to my project versus continuing to work without it as I have been doing?
More
10 years 4 months ago #10594 by Davide
Hi,
this old jar file contains the source code, so if you have the source code you have to delete this jar file.

I suggest you to update your old library to the latest version, there are a lot of improvements and new implementations..
Time to create page: 0.402 seconds
Powered by Kunena Forum