添加Support库支持
This commit is contained in:
		| @@ -22,11 +22,21 @@ android { | ||||
|  | ||||
| dependencies { | ||||
|     api fileTree(dir: 'libs', include: ['*.jar']) | ||||
|     // AndroidX 类库 | ||||
|     api 'androidx.appcompat:appcompat:1.0.0' | ||||
|     api 'com.google.android.material:material:1.4.0' | ||||
|     //api 'androidx.viewpager:viewpager:1.0.0' | ||||
|     //api 'androidx.vectordrawable:vectordrawable:1.1.0' | ||||
|     //api 'androidx.vectordrawable:vectordrawable-animated:1.1.0' | ||||
|     //api 'androidx.fragment:fragment:1.1.0' | ||||
|      | ||||
|     // Android 类库 | ||||
|     api 'com.android.support:appcompat-v7:28.0.0' // 包含 AppCompatActivity | ||||
|     // https://mvnrepository.com/artifact/com.android.support/support-compat | ||||
|     api 'com.android.support:support-compat:28.0.0' // 保留原有依赖(可选) | ||||
|     // https://mvnrepository.com/artifact/com.android.support/support-v4 | ||||
|     api 'com.android.support:support-v4:28.0.0' | ||||
|     // https://mvnrepository.com/artifact/com.android.support/support-media-compat | ||||
|     api 'com.android.support:support-media-compat:28.0.0' | ||||
|     // https://mvnrepository.com/artifact/com.android.support/support-core-utils | ||||
|     api 'com.android.support:support-core-utils:28.0.0' | ||||
|     // https://mvnrepository.com/artifact/com.android.support/support-core-ui | ||||
|     api 'com.android.support:support-core-ui:28.0.0' | ||||
|     // https://mvnrepository.com/artifact/com.android.support/support-fragment | ||||
|     api 'com.android.support:support-fragment:28.0.0' | ||||
|     // https://mvnrepository.com/artifact/com.android.support/recyclerview-v7 | ||||
|     api 'com.android.support:recyclerview-v7:28.0.0' | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 ZhanGSKen
					ZhanGSKen