Reputation: 6307
I upgraded android studio to 2.3 after number of errors I got to compile project but when i try to create new project, nothing happens no error, could anyone tell me why this happening
idea.log:
2017-03-21 23:20:15,671 [ 728938] ERROR - pplication.impl
.LaterInvocator - Android Studio 2.3 Build #AI-162.3764568
2017-03-21 23:20:15,671 [ 728938] ERROR - pplication.impl.LaterInvocator
- JDK: 1.8.0_45
2017-03-21 23:20:15,671 [ 728938] ERROR - pplication.impl
.LaterInvocator - VM: Java HotSpot(TM) Server VM
2017-03-21 23:20:15,671 [ 728938] ERROR - pplication.impl.
LaterInvocator - Vendor: Oracle Corporation
2017-03-21 23:20:15,671 [ 728938] ERROR -
pplication.impl.LaterInvocator - OS: Windows 8
2017-03-21 23:20:15,671 [ 728938] ERROR - pplication.impl.
LaterInvocator - Last Action: ShowLog
2017-03-21 23:20:16,317 [ 729584] INFO - .diagnostic.
PerformanceWatcher - Pushing properties took 11ms; general
responsiveness: ok; EDT responsiveness: ok
2017-03-21 23:20:18,160 [ 731427] INFO - .diagnostic.
PerformanceWatcher - Indexable file iteration took 1843ms;
general responsiveness: ok; EDT responsiveness: ok
2017-03-21 23:22:42,925 [ 876192] WARN -
ctions.AndroidNewProjectAction - Unable to launch New Project Wizard
java.lang.IllegalStateException: Gradle plugin missing from the
offline Maven repo
at com.android.tools.idea.gradle.plugin.AndroidPluginGeneration.getLatestKnownVersion(AndroidPluginGeneration.java:213)
and so on
Upvotes: 0
Views: 534
Reputation: 337
I've just encountered this bug. After new project wizard nothing happened. I discovered that it was a bug in the project template file. To fix this issue,
{Android Studio installation location}
/plugins/android/lib/templates/gradle-projects/NewAndroidModule/root/build.gradle.ftlHope it helps someone
Upvotes: 0
Reputation: 6307
I solved this error by downloading all the packages also uninstalling AS without uninstalling SDK, also when installing AS keep the internet connection off, hope it help others too, and save from a lot of trouble i faced!
Upvotes: 1