質問編集履歴

1

gradle情報を追記いたしました

2016/12/08 04:14

投稿

kenzoo1993
kenzoo1993

スコア12

test CHANGED
File without changes
test CHANGED
@@ -31,3 +31,131 @@
31
31
  ###試したこと
32
32
 
33
33
  Webの情報を受けてSDKのバージョンを確認して,Invalidate and Restartをしましたが動きません。
34
+
35
+
36
+
37
+ ###追加情報
38
+
39
+ gradle(Mobile)
40
+
41
+ --
42
+
43
+ apply plugin: 'com.android.application'
44
+
45
+
46
+
47
+ android {
48
+
49
+ compileSdkVersion 25
50
+
51
+ buildToolsVersion "25.0.1"
52
+
53
+
54
+
55
+ defaultConfig {
56
+
57
+ applicationId "com.example.アプリケーションのID"
58
+
59
+ minSdkVersion 21
60
+
61
+ targetSdkVersion 25
62
+
63
+ versionCode 1
64
+
65
+ versionName "1.0"
66
+
67
+ }
68
+
69
+ buildTypes {
70
+
71
+ release {
72
+
73
+ minifyEnabled false
74
+
75
+ proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
76
+
77
+ }
78
+
79
+ }
80
+
81
+ }
82
+
83
+
84
+
85
+ dependencies {
86
+
87
+ compile fileTree(dir: 'libs', include: ['*.jar'])
88
+
89
+ wearApp project(':wear')
90
+
91
+ testCompile 'junit:junit:4.12'
92
+
93
+ compile 'com.android.support:appcompat-v7:25.0.1'
94
+
95
+ compile 'com.google.android.gms:play-services:10.0.1'
96
+
97
+ }
98
+
99
+
100
+
101
+
102
+
103
+ gradle(wear)
104
+
105
+ --
106
+
107
+
108
+
109
+ apply plugin: 'com.android.application'
110
+
111
+
112
+
113
+
114
+
115
+ android {
116
+
117
+ compileSdkVersion 25
118
+
119
+ buildToolsVersion "25.0.1"
120
+
121
+
122
+
123
+ defaultConfig {
124
+
125
+ applicationId "com.example.アプリケーションのID"
126
+
127
+ minSdkVersion 21
128
+
129
+ targetSdkVersion 25
130
+
131
+ versionCode 1
132
+
133
+ versionName "1.0"
134
+
135
+ }
136
+
137
+ buildTypes {
138
+
139
+ release {
140
+
141
+ minifyEnabled false
142
+
143
+ proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
144
+
145
+ }
146
+
147
+ }
148
+
149
+ }
150
+
151
+
152
+
153
+ dependencies {
154
+
155
+ compile fileTree(dir: 'libs', include: ['*.jar'])
156
+
157
+ compile 'com.google.android.support:wearable:2.0.0-alpha3'
158
+
159
+ compile 'com.google.android.gms:play-services-wearable:10.0.1'
160
+
161
+ }