teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

3

付け足し修正しました

2020/04/08 12:48

投稿

Jhon_McClane
Jhon_McClane

スコア48

title CHANGED
File without changes
body CHANGED
@@ -16,6 +16,7 @@
16
16
  }
17
17
  ```
18
18
  ```
19
+
19
20
  apply plugin: 'com.android.application'
20
21
 
21
22
  android {

2

付け足し修正

2020/04/08 12:48

投稿

Jhon_McClane
Jhon_McClane

スコア48

title CHANGED
File without changes
body CHANGED
@@ -15,7 +15,8 @@
15
15
  }
16
16
  }
17
17
  ```
18
+ ```
18
- ```apply plugin: 'com.android.application'
19
+ apply plugin: 'com.android.application'
19
20
 
20
21
  android {
21
22
  compileSdkVersion 29

1

codeの追加情報更新

2020/04/08 11:56

投稿

Jhon_McClane
Jhon_McClane

スコア48

title CHANGED
File without changes
body CHANGED
@@ -14,4 +14,42 @@
14
14
  TypefaceProvider.registerDefaultIconSets();
15
15
  }
16
16
  }
17
+ ```
18
+ ```apply plugin: 'com.android.application'
19
+
20
+ android {
21
+ compileSdkVersion 29
22
+ buildToolsVersion "29.0.3"
23
+
24
+ defaultConfig {
25
+ applicationId "com.example.samplelibrary"
26
+ minSdkVersion 15
27
+ targetSdkVersion 29
28
+ versionCode 1
29
+ versionName "1.0"
30
+
31
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
32
+ }
33
+
34
+ buildTypes {
35
+ release {
36
+ minifyEnabled false
37
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
38
+ }
39
+ }
40
+
41
+ }
42
+
43
+ dependencies {
44
+ implementation fileTree(dir: 'libs', include: ['*.jar'])
45
+
46
+ implementation 'androidx.appcompat:appcompat:1.1.0'
47
+ implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
48
+ testImplementation 'junit:junit:4.12'
49
+ androidTestImplementation 'androidx.test.ext:junit:1.1.1'
50
+ androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
51
+ implementation 'com.beardedhen:androidbootstrap:2.3.2'
52
+ }
53
+
54
+ コード
17
55
  ```