Error:Execution failed for task ':AndroidAppDemo:transformClassesWithPreJackPackagedLibrariesForDebug'.> com.android.build.api.transform.TransformException:com.android.jack.api.ConfigNotSupportedException: Jack requires Build Tools 24.0.0 or laterUse java 1.8 and latest build tools and compile with jack optioncompileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 }defaultConfig {jackOptions {enabled:true}}Jack is a new tool that compile java source into dex byte code.Its completely open source.
Tuesday, March 14, 2017
March 14, 2017
Error:Error converting bytecode to dex: Cauase: Dex cannot parse version 52 byte code. This is caused by library dependencies that have been compiled using Java 8 or above. If you are using the 'java' gradle plugin in a library submodule add targetCompatibility = '1.7' sourceCompatibility = '1.7' to that submodule's build.gradle file.
By Entrepreneur & Financial Planning
android jack compiler, android jackoptions, android studio build tools, jack, java 1.8 jack, opensource
No comments
Thursday, January 12, 2017
January 12, 2017
CORS is if your trying to access from one domain - another domain.
XMLHttpRequest cannot load https://www.test.com;.
No 'Access-Control-Allow-Origin' header is present
on the requested resource. Origin 'http://127.0.0.1:55427'
is therefore not allowed access.
CORS is if your trying to access from one domain - another domain.
Try withJSONP. JSONP should work , because it uses the GET method.
Try this
|
Tuesday, December 20, 2016
December 20, 2016
Error while launching the activity Android Studio
Hi ,
I am working with android studio with multiple applications, i got an issue after changing the package name and running the application through android studio. I could not able to run.....
I restarted the studio, but not resolved.
I followed these steps.
1. First remove the directory
~/.gradle/caches/ I am using mac, so open terminal,
rm -rf ~/.gradle/caches/ - It removes
2. Click on sync project with gradle files icon in android studio.
3. Run the project again.
It works for me.
I am working with android studio with multiple applications, i got an issue after changing the package name and running the application through android studio. I could not able to run.....
I restarted the studio, but not resolved.
I followed these steps.
1. First remove the directory
~/.gradle/caches/ I am using mac, so open terminal,
rm -rf ~/.gradle/caches/ - It removes
2. Click on sync project with gradle files icon in android studio.
3. Run the project again.
It works for me.
Sunday, November 13, 2016
November 13, 2016
ionic.bundle.js:26794 TypeError: $q.defer is not a function
Tuesday, November 8, 2016
November 08, 2016
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void org.apache.cordova.CordovaPlugin.privateInitialize(java.lang.String, org.apache.cordova.CordovaInterface, org.apache.cordova.CordovaWebView
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void org.apache.cordova.CordovaPlugin.privateInitialize(java.lang.String, org.apache.cordova.CordovaInterface, org.apache.cordova.CordovaWebView, org.apache.cordova.CordovaPreferences)' on a null object reference
Monday, November 7, 2016
November 07, 2016