The item packaged into Android library-- effective pro-test

1. where necessary.

To apply plugin: 'com.android.application', change the 'com.android.library'; commented applicationId under defaultConfig node "....."

plugin Apply: 'com.android.application'
// Apply plugin: 'com.android.library'
Android {
    compileSdkVersion 25
    buildToolsVersion "25.0.3"
    defaultConfig {
        // comment to
        // applicationId "com.example.shibo.simplerecycleview "
        minSdkVersion 15
        targetSdkVersion 25
        versionCode 1
        versionName" 1.0 "
        testInstrumentationRunner" android.support.test.runner.AndroidJUnitRunner "
    }
2.build, then go to the new project, try to use
when you import moudle, then he will remind you of your imported moudle and your name is the same, call app :( premise is that you have not modified, modify the other said); then right renamed it, renamed enough.

Published 49 original articles · won praise 2 · Views 8618

Guess you like

Origin blog.csdn.net/yangjunjin/article/details/99649317