Android Gradle plugin 0.7.0: “duplicate files during packaging of APK”

As of Android Studio version 0.8.14 You should add: android { packagingOptions { exclude ‘META-INF/LICENSE.txt’ exclude ‘META-INF/NOTICE.txt’ exclude ‘…’ } } to your build.gradle file. History: According to comment 14 in this bug: https://issuetracker.google.com/issues/36982149#comment14 this is a bug in v0.7.0 of the Android Gradle plugin, and is due to be fixed soon in 0.7.1. Here … Read more

A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptExecution

Android Studio’s UI was just hiding the error… when the error occurred, it highlighted the item in the list view, and showed an unhelpful message in the terminal view. to find the real error, select the root item in the list view so that Android Studio would display the whole build output in the terminal … Read more

Setting ANDROID_HOME enviromental variable on Mac OS X

Where the Android-SDK is installed depends on how you installed it. If you downloaded the SDK through their website and then dragged/dropped the Application to your Applications folder, it’s most likely here: /Applications/ADT/sdk (as it is in your case). If you installed the SDK using Homebrew (brew cask install android-sdk), then it’s located here: /usr/local/Caskroom/android-sdk/{YOUR_SDK_VERSION_NUMBER} … Read more

Message “flutter run: No connected devices”

Flutter supports both iOS and Android device/simulators. In the terminal, run the flutter devices command to verify that Flutter recognizes your connected Android device. Here is a reference document on how you can set up a device/simulator to run your application. For, Android (on a Mac system) Set up your Android device To prepare to … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)