My Android Studio version is 2.1 preview. I'm running my project using Google APIs, Android 17, rev 4 (API 17).
I'm having 1 pop-up error while debugging app.
[Information: Image to show my pop-up errror. Click to show this.][1]
I never met error like this earlier. How can I resolve this?
Updated:
I often meet error like this:
error: diamond operator is not supported in -source 1.6
(use -source 7 or higher to enable diamond operator
I waas trying to do research on this. I tried but it never worked out. When does this error come and how can I resolve it?
Thanks.
Go to
Tools -> Android -> Sync Project with Gradle Files
in Android Studio 3.0.1 to solve the following
Error: Please select Android SDK
as mentioned here
It is not an error. Its just Android Studio trying to figure out what you want to debug. So in your case the "app" module. Have you done a gradle build through? Pushing this: . Gradle should set it up so you dont have to choose debug target.
EDIT: This icon is different on Android Studio 3.0, is called "Sync Project with Gradle Files".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With