質問編集履歴

2

表題の【初心者】を削除しました

2019/07/08 10:13

投稿

kaku1019
kaku1019

スコア12

test CHANGED
@@ -1 +1 @@
1
- 【初心者】android.support.v7.app.AppCompatActivity をインポートできない問題
1
+ android.support.v7.app.AppCompatActivity をインポートできない問題
test CHANGED
File without changes

1

初心者マーク、app/build.gradleの中身の追加

2019/07/08 10:12

投稿

kaku1019
kaku1019

スコア12

test CHANGED
File without changes
test CHANGED
@@ -58,4 +58,74 @@
58
58
 
59
59
 
60
60
 
61
+ ###追記
62
+
63
+ ####app/build.gradleの中身
64
+
65
+
66
+
67
+ ```
68
+
69
+ apply plugin: 'com.android.application'
70
+
71
+
72
+
73
+ android {
74
+
75
+ compileSdkVersion 29
76
+
77
+ buildToolsVersion "29.0.0"
78
+
79
+ defaultConfig {
80
+
81
+ applicationId "example.com.datat"
82
+
83
+ minSdkVersion 27
84
+
85
+ targetSdkVersion 29
86
+
87
+ versionCode 1
88
+
89
+ versionName "1.0"
90
+
91
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
92
+
93
+ }
94
+
95
+ buildTypes {
96
+
97
+ release {
98
+
99
+ minifyEnabled false
100
+
101
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
102
+
103
+ }
104
+
105
+ }
106
+
107
+ }
108
+
109
+
110
+
111
+ dependencies {
112
+
113
+ implementation fileTree(dir: 'libs', include: ['*.jar'])
114
+
115
+ implementation 'androidx.appcompat:appcompat:1.0.2'
116
+
117
+ implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
118
+
119
+ testImplementation 'junit:junit:4.12'
120
+
121
+ androidTestImplementation 'androidx.test:runner:1.2.0'
122
+
123
+ androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
124
+
125
+ }
126
+
127
+ ```
128
+
129
+
130
+
61
131
  よろしくお願いします。