Comments (18)
Can you try building with Java 8?
from roottools.
I can't select that and afaik Android doesn't support it.
from roottools.
Android does support it.
from roottools.
where do u select that? If I add these lines in my gradle file:
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
I get the following error:
* What went wrong:
Execution failed for task ':app:compileDebugJava'.
> invalid source release: 1.8
from roottools.
You probably need to change your JDK location to point to 1.8.
Then you won't get that error.
Open Module settings -> SDK Location -> JDK Location
from roottools.
ok, after successfully changing the jdk version to 1.8, I have the same error as with 1.7 :P
from roottools.
The JDK for your Android SDK's may also need updating?
http://stackoverflow.com/questions/24662801/bad-class-file-magic-or-version
from roottools.
I have no idea what he means but it's about a preview and I'm using sdk 21 anyway.
Do u still use eclipse or u just don't have this error? In another topic I read, that u have to compile RootTools yourself using AS because the jar is not compatible.
Unfortunately I'm not able to compile it for some reason.(many different problems, I didn't invest that much time into it yet)
from roottools.
It seems that Java7 + RootTools 3.5 works.
So it should be a problem of the way you build the jars.
from roottools.
I know what's causing it. I have Java 8 and am compiling it against Java 8 and you are trying to use Java 7.
I'll look into compiling against Java 7, but in the meantime if you want to use the newest version of RootTools you need to configure your environment to work with Java 8.
Possibly check that JAVA_HOME is pointing to java 1.8 instead of java 7 as well...
from roottools.
Well I would use 1.8 if it would work, I set 1.8 in gradle, I'm using the 1.8 SDK and my java home is set to /usr/lib/jvm/java-8-oracle
from roottools.
One moment, I'm building a new version targeted to 1.7.
You problem is probably that your Android SDK's are configured to use 1.7 instead of 1.8.
from roottools.
Can you try this one?
https://drive.google.com/open?id=0B5Amguus3csDVVh2NWJaaFRwQkk&authuser=0
Change everything back to 1.7
from roottools.
With this file I still have the same error, sry (this time with com/stericson/RootTools/Constants.class).
from roottools.
Oooops, hold on....Noticed on my end it's still using 1.8
from roottools.
Ok, this version is compiled against jdk 7
https://drive.google.com/open?id=0B5Amguus3csDRERybjQ2M1lMOWM&authuser=0
from roottools.
yes this works thx a lot, I'd still like to know where I can change the android sdk compiler so I can use official releases :)
from roottools.
I'll make this the official release.
This will work with 1.7 and above.
I'm going to push this out now.
from roottools.
Related Issues (20)
- Install "Aptoide" HOT 1
- Crash when Shell run HOT 3
- Root tool
- [email protected] HOT 1
- New
- is still alive the project?
- RootTools
- Apple
- __Originally posted by @jackiebrewster307 in https://github.com/IdeasOnCanvas/MNDocumentController/issues/1__
- Apple root HOT 1
- Apple root iPhone HOT 1
- save
- Roottools HOT 1
- How to unlock bootloader and on stylo 6???
- Root HOT 1
- Vivo
- Help me HOT 1
- .
- Permission
- I'm using Castify
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from roottools.