developer

What’s the difference between implementation and compile in gradle

Question: ❓❓❓ After updating to Android Studio 3.0 and creating a new project, I noticed that in build.gradle there is a new way to add new dependencies instead of compile there is implementation and instead of testCompile there is testImplementation. example: implementation 'com.android.support:appcompat-v7:25.0.0' testImplementation 'junit:junit:4.12' instead of compile 'com.android.support:appcompat-v7:25.0.0' testCompile Read more…

By admin, ago
developer

Android Studio Gradle Configuration with name ‘default’ not found

Question: ❓❓❓ I am having problems compiling my app with Android Studio (0.1.5). The app uses 2 libraries which I have included as follows: settings.gradle include ':myapp',':library',':android-ColorPickerPreference' build.gradle buildscript { repositories { mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:0.4' } } apply plugin: 'android' dependencies { compile files('libs/android-support-v4.jar') compile project(':library') compile Read more…

By admin, ago