質問編集履歴

1

写真が表示されていなかった

2018/07/01 08:45

投稿

kouhei.ocp117
kouhei.ocp117

スコア9

test CHANGED
File without changes
test CHANGED
@@ -1,21 +1,3 @@
1
- ### 前提・実現したいこと
2
-
3
-
4
-
5
- ここに質問の内容を詳しく書いてください。
6
-
7
- (例)PHP(CakePHP)で●●なシステムを作っています。
8
-
9
- ■■な機能を実装中に以下のエラーメッセージが発生しました。
10
-
11
-
12
-
13
- ### 発生している問題・エラーメッセージ
14
-
15
-
16
-
17
- ```
18
-
19
1
  Androidのネイティブアプリの「対応する Android 搭載端末」が0になってしまいます。
20
2
 
21
3
 
@@ -30,34 +12,146 @@
30
12
 
31
13
  この問題について詳しく知っている方がいらっしゃいましたら、ご教授ください。
32
14
 
15
+
16
+
33
17
  ![アプリのリリースの画面](cfb58725da803342d98171a2d486840b.png)
18
+
19
+
20
+
21
+
22
+
23
+ ### build.gradle(Project)
24
+
25
+ ```
26
+
27
+ buildscript {
28
+
29
+ repositories {
30
+
31
+ jcenter()
32
+
33
+ google()
34
+
35
+ }
36
+
37
+ dependencies {
38
+
39
+ classpath 'com.android.tools.build:gradle:3.1.2'
40
+
41
+ classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
42
+
43
+ classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.0'
44
+
45
+ // NOTE: Do not place your application dependencies here; they belong
46
+
47
+ // in the individual module build.gradle files
48
+
49
+ }
50
+
51
+ }
52
+
53
+
54
+
55
+ allprojects {
56
+
57
+ repositories {
58
+
59
+ jcenter()
60
+
61
+ google()
62
+
63
+ }
64
+
65
+ }
66
+
67
+
68
+
69
+ task clean(type: Delete) {
70
+
71
+ delete rootProject.buildDir
72
+
73
+ }
74
+
75
+
34
76
 
35
77
  ```
36
78
 
37
79
 
38
80
 
39
- ### 該当のソースコード
81
+ ### build.gradle(App)
82
+
83
+ ```
84
+
85
+ apply plugin: 'com.android.application'
40
86
 
41
87
 
42
88
 
43
- ```ここに言語名を入力
89
+ android {
44
90
 
45
- ソースコード
91
+ compileSdkVersion 26
46
92
 
93
+ buildToolsVersion '27.0.3'
94
+
95
+ defaultConfig {
96
+
97
+ applicationId "com.ya.dummy"
98
+
99
+ minSdkVersion 21
100
+
101
+ targetSdkVersion 26
102
+
103
+ versionCode 6
104
+
105
+ versionName "1.0.2"
106
+
107
+ testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
108
+
47
- ```
109
+ }
110
+
111
+ buildTypes {
112
+
113
+ release {
114
+
115
+ //minifyEnabled false
116
+
117
+ minifyEnabled true
118
+
119
+ proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
120
+
121
+ }
122
+
123
+ }
124
+
125
+ }
48
126
 
49
127
 
50
128
 
51
- ### 試したこと
129
+ dependencies {
130
+
131
+ implementation fileTree(dir: 'libs', include: ['*.jar'])
132
+
133
+ implementation 'com.android.support:appcompat-v7:25.3.0'
134
+
135
+ implementation 'com.android.support:design:25.4.0'
136
+
137
+ implementation 'com.android.support:support-v4:25.4.0'
138
+
139
+ implementation 'com.android.support.constraint:constraint-layout:1.0.2'
140
+
141
+ implementation 'com.google.android.gms:play-services-maps:11.8.0'
142
+
143
+ implementation 'com.google.android.gms:play-services-location:11.8.0'
144
+
145
+ implementation 'com.rom4ek:arcnavigationview:1.0.3'
146
+
147
+ testImplementation 'junit:junit:4.12'
148
+
149
+ androidTestImplementation 'com.android.support.test:runner:1.0.1'
150
+
151
+ androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
152
+
153
+ }
52
154
 
53
155
 
54
156
 
55
- ここに問題に対して試したことを記載してください。
56
-
57
-
58
-
59
- ### 補足情報(FW/ツールのバージョンなど)
60
-
61
-
62
-
63
- ここにより詳細な情報を記載してください。
157
+ ```