Comments (5)
The plugin looks correct installed. which java version use you? Current this project support only java 7
from android-gradle-template.
In my project structure i have jdk location point to 1.7
/Library/Java/JavaVirtualMachines/jdk1.7.0_55.jdk/Contents/Home
It might be a problem with OS X.
Here's the AS logfile
https://gist.githubusercontent.com/daveenguyen/08d7c0f834e9b0ad9263/raw/43c0c97045c60c480d32376a6d8dafce5e301459/idea.log
It does show JRE as 1.6, but it also says that it's telling gradle to use jdk1.7
from android-gradle-template.
i'm on vacation now, so i have not much time.
short what i know:
- there are issues when use java 6
- project works on OS X fine, thats my operations system
check wether your tests run on command line? set your JAVA_HOME to the 1.7 and try again.
from android-gradle-template.
At first it wasn't working on the command-line with JAVA_HOME 1.7,
but then i ran your script to install the plugin and ran gradlew again and it worked!
I tried to delete the gradlew cache and try new clone without the plugin script, but I could not reproduce the error.
Maybe I had bad cache or something?
Thank you for helping.
from android-gradle-template.
Plugin is installed to local maven repo. For a full dependency whipe delete this maven repo too
from android-gradle-template.
Related Issues (20)
- Project Structure Question HOT 1
- A problem occurred evaluating project ':ComponentTestsRobolectric' HOT 6
- When using this template, I've faced some problems HOT 3
- jacoco with espresso, task jacocoTestReport skipped HOT 6
- Error Illegal use of non virtual function call HOT 4
- Maybe switch to JCAndKSolutions/android-unit-test
- 'android' or 'android-library' plugin is required HOT 8
- Illegal use of nonvirtual function call HOT 2
- Collect code coverage during manual testing? HOT 2
- Update to latest version of Espresso and Mockito? HOT 3
- Voting: Which is your favourite way to support robolectric? HOT 5
- Can not compile success in the environment Android Studio1.0+ gradle2.2.1+build gradle1.0 HOT 3
- Unexpected top-level exception when running app HOT 2
- Could not find com.novoda:gradle-android-test-plugin:0.10.3. HOT 3
- run-tests.sh needs a simple fix HOT 1
- Android Studio 1.4 Java modules cannot depend on Android modules HOT 2
- FileNotFound Exception HOT 8
- Running / debugging Unit or Component tests in Android Studio HOT 3
- oops
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 android-gradle-template.