I don’t know how to import gradle/AS projects into VS 2015. Do you know a place where I can find instructions on how to do that ?.
To import android ant projects from Projucer I’m using this in vs 2015:
https://visualstudiogallery.msdn.microsoft.com/53e6e65b-fa0f-411a-a98d-7911009537ac
On windows 10 Pro x64 I can’t use Android Studio on projects from the projucer. Here is what happens when I open and Build/Make the HelloWorld AS project from Projucer in Android Studio (v. 2.2.1):
First Message (Pop up):
"
0 Android Gradle Experimental Plugin Update Required
X
The project is using an incompatible version of the Android Gradle Experimental plugin.
To continue opening the project, the IDE will update the Android Gradle Experimental plugin to version 0.8.1.
You can learn more about this version of the plugin from the release notes.
"
I choose Update
Then, when I try to Make the project, I get all these messages:
"
Information:Gradle tasks [:app:generateArmeabi-v7aDebugSources, :app:generateArmeabi-v7aDebugAndroidTestSources, :app:mockableAndroidJar, :app:prepareArmeabi-v7aDebugUnitTestDependencies, :app:compileArmeabi-v7aDebugSources, :app:compileArmeabi-v7aDebugAndroidTestSources, :app:compileArmeabi-v7aDebugUnitTestSources]
Information:(Unknown) In file included
Information:(Unknown) In file included
Information:(Unknown) In file included
Information:(Unknown) In file included
Information:(Unknown) In file included
Information:(Unknown) In file included
D:\projects\juceProjs\JUCE\modules\juce_core\native\juce_android_Network.cpp
Error:(46, 64) error: expected ‘)’
Information:(46, 1) to match this ‘(’
Error:(46, 32) error: use of undeclared identifier ‘com’
Error:(46, 32) error: use of undeclared identifier ‘roli’
Error:(46, 32) error: use of undeclared identifier ‘jucehelloworld’
Error:(46, 32) error: use of undeclared identifier ‘HelloWorld’
Information:(Unknown) In file included
Information:(Unknown) In file included
Information:(Unknown) In file included
D:\projects\juceProjs\JUCE\modules\juce_core\native\juce_android_JNIHelpers.h
Error:(301, 37) error: use of undeclared identifier ‘com’
Error:(301, 37) error: use of undeclared identifier ‘roli’
Error:(301, 37) error: use of undeclared identifier ‘jucehelloworld’
Error:(301, 37) error: use of undeclared identifier ‘HelloWorld’
Error:(301, 1) error: expected ‘)’
Information:(225, 13) expanded from macro ‘DECLARE_JNI_CLASS’
Information:(264, 66) expanded from macro ‘JNI_CLASS_MEMBERS’
Information:(301, 1) to match this ‘(’
D:\projects\juceProjs\JUCE\examples\HelloWorld\Builds\AndroidStudio/…/…/…/…/modules\juce_core/native/juce_android_JNIHelpers.h:225:32: note: expanded from macro ‘DECLARE_JNI_CLASS’
Error:(301, 1) error: expected ‘)’
Information:(265, 63) expanded from macro ‘JNI_CLASS_MEMBERS’
Error:(301, 1) error: expected ‘)’
Information:(266, 69) expanded from macro ‘JNI_CLASS_MEMBERS’
Error:(301, 1) error: expected ‘)’
Information:(274, 149) expanded from macro ‘JNI_CLASS_MEMBERS’
Information:(301, 1) to match this ‘(’
D:\projects\juceProjs\JUCE\examples\HelloWorld\Builds\AndroidStudio/…/…/…/…/modules\juce_core/native/juce_android_JNIHelpers.h:225:51: note: expanded from macro ‘DECLARE_JNI_CLASS’
Error:(301, 1) error: expected ‘)’
Information:(290, 76) expanded from macro ‘JNI_CLASS_MEMBERS’
Error:(301, 1) error: expected ‘)’
Information:(291, 74) expanded from macro ‘JNI_CLASS_MEMBERS’
Error:(301, 37) error: use of undeclared identifier ‘com’
Error:(301, 37) error: use of undeclared identifier ‘roli’
Error:(301, 37) error: use of undeclared identifier ‘jucehelloworld’
Error:(301, 37) error: use of undeclared identifier ‘HelloWorld’
Error:(301, 1) error: expected ‘)’
Error:(301, 1) error: expected ‘)’
Error:(301, 1) error: expected ‘)’
Error:(301, 1) error: expected ‘)’
Error:(301, 1) error: expected ‘)’
Error:(301, 1) error: expected ‘)’
Information:(221, 49) expanded from macro ‘DECLARE_JNI_CLASS’
Error:(301, 37) error: use of undeclared identifier ‘com’
Error:(301, 37) error: use of undeclared identifier ‘roli’
Error:(301, 37) error: use of undeclared identifier ‘jucehelloworld’
Error:(301, 37) error: use of undeclared identifier ‘HelloWorld’
Error:(301, 1) error: expected ‘)’
Error:(301, 1) error: expected ‘)’
Error:(301, 1) error: expected ‘)’
Error:(301, 1) error: expected ‘)’
Error:(301, 1) error: expected ‘)’
Error:(301, 1) error: expected ‘)’
Error:(301, 37) error: use of undeclared identifier ‘com’
Error:(301, 37) error: use of undeclared identifier ‘roli’
Error:(301, 37) error: use of undeclared identifier ‘jucehelloworld’
Error:(301, 37) error: use of undeclared identifier ‘HelloWorld’
Error:(301, 1) error: expected ‘)’
Error:(301, 1) error: expected ‘)’
Error:(301, 1) error: expected ‘)’
Error:(301, 1) error: expected ‘)’
Error:(301, 1) error: expected ‘)’
Error:(301, 1) error: expected ‘)’
Information:(Unknown) In file included
D:\projects\juceProjs\JUCE\modules\juce_gui_basics\native\juce_android_Windowing.cpp
Error:(111, 71) error: expected ‘)’
Information:(111, 1) to match this ‘(’
Error:(111, 39) error: use of undeclared identifier ‘com’
Error:(111, 39) error: use of undeclared identifier ‘roli’
Error:(111, 39) error: use of undeclared identifier ‘jucehelloworld’
Error:(111, 39) error: use of undeclared identifier ‘HelloWorld’
Warning:(601, 14) warning: ‘initialiseBitmapData’ overrides a member function but is not marked ‘override’ [-Winconsistent-missing-override]
Warning:(609, 29) warning: ‘clone’ overrides a member function but is not marked ‘override’ [-Winconsistent-missing-override]
D:\projects\juceProjs\JUCE\modules\juce_graphics\images\juce_Image.h
Information:(450, 18) overridden virtual function is here
Information:(446, 17) overridden virtual function is here
Error:Execution failed for task ‘:app:compileJuce_jniArmeabi-v7aDebugArmeabi-v7aSharedLibraryJuce_jniArmeabi-v7aDebugArmeabi-v7aSharedLibraryMainCpp’.
Multiple build operations failed.
C++ compiler failed while compiling juce_events.cpp.
C++ compiler failed while compiling juce_core.cpp.
C++ compiler failed while compiling juce_graphics.cpp.
C++ compiler failed while compiling juce_gui_basics.cpp.
See the complete log at: file:///D:/projects/juceProjs/JUCE/examples/HelloWorld/Builds/AndroidStudio/app/build/tmp/compileJuce_jniArmeabi-v7aDebugArmeabi-v7aSharedLibraryJuce_jniArmeabi-v7aDebugArmeabi-v7aSharedLibraryMainCpp/output.txt
Information:BUILD FAILED
Information:Total time: 3.964 secs
Information:51 errors
Information:2 warnings
Information:See complete output in console
"
…Best Eigil