質問編集履歴
1
情報不足のため、加筆修正いたしました。
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
エミュレーターではインストールできるのにAndroidの実機にはインストール
|
1
|
+
エミュレーターではインストールできるのにAndroidの実機にはインストールできない事象について
|
body
CHANGED
@@ -1,16 +1,36 @@
|
|
1
|
-
|
1
|
+
Android StudioでFlutterアプリを作成しており、いざ実機(OnePlus5)にインストールしようとしたところ、エミューレータでは成功していたインストールができませんでした。
|
2
2
|
|
3
|
-
|
3
|
+
具体的には、以下のように「Installing~」の箇所から動かなくなります。
|
4
4
|
|
5
5
|
```
|
6
|
-
|
6
|
+
Launching lib\main.dart on ONEPLUS A5000 in debug mode...
|
7
|
-
|
7
|
+
Running Gradle task 'assembleDebug'...
|
8
|
-
|
8
|
+
√ Built build\app\outputs\apk\debug\app-debug.apk.
|
9
|
-
2020-02-26 18:36:59.328 912-912/? E/cutils: Failed to open(/data/misc/profiles/cur/10/com.example.flutter_app/primary.prof): No such file or directory
|
10
|
-
|
9
|
+
Installing build\app\outputs\apk\app.apk...
|
11
|
-
2020-02-26 18:36:59.329 1371-1545/? E/ArtManagerService: Failed to prepare profile for com.example.flutter_app:/data/app/com.example.flutter_app-oHx8gG_DuFXtPa8JSAYbKg==/base.apk
|
12
10
|
```
|
13
11
|
|
12
|
+
インストールはAndroid Studioから実機を指定して実行することを意味しています。
|
13
|
+
実機のドライバはインストール済みであり、過去、別のアプリを実装し、同様の方法でインストールしたことが複数回あります。
|
14
|
+
|
15
|
+
logcatで"Flutter"で絞って観察したところ、warn以上のログとしては以下のようなものが出力されていますが、まだ原因が特定できていません。
|
16
|
+
|
17
|
+
```
|
18
|
+
2020-02-26 22:19:17.837 9372-9372/? E/ple.flutter_ap: Unknown bits set in runtime_flags: 0x8000
|
19
|
+
2020-02-26 22:19:17.838 9372-9372/? W/ple.flutter_ap: Unexpected CPU variant for X86 using defaults: x86
|
20
|
+
2020-02-26 22:19:18.218 9372-9393/com.example.flutter_app W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
|
21
|
+
2020-02-26 22:19:18.317 9372-9395/com.example.flutter_app W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
|
22
|
+
2020-02-26 22:19:18.312 9372-9372/com.example.flutter_app W/RenderThread: type=1400 audit(0.0:50): avc: denied { write } for name="property_service" dev="tmpfs" ino=9353 scontext=u:r:untrusted_app:s0:c133,c256,c512,c768 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0 app=com.example.flutter_app
|
23
|
+
2020-02-26 22:19:18.328 9372-9401/com.example.flutter_app W/libc: Unable to set property "qemu.gles" to "1": connection failed; errno=13 (Permission denied)
|
24
|
+
2020-02-26 22:19:18.738 9372-9372/com.example.flutter_app W/ple.flutter_ap: Accessing hidden method Landroid/view/accessibility/AccessibilityNodeInfo;->getSourceNodeId()J (greylist, reflection, allowed)
|
25
|
+
2020-02-26 22:19:18.738 9372-9372/com.example.flutter_app W/ple.flutter_ap: Accessing hidden method Landroid/view/accessibility/AccessibilityRecord;->getSourceNodeId()J (greylist, reflection, allowed)
|
26
|
+
2020-02-26 22:19:18.738 9372-9372/com.example.flutter_app W/ple.flutter_ap: Accessing hidden field Landroid/view/accessibility/AccessibilityNodeInfo;->mChildNodeIds:Landroid/util/LongArray; (greylist, reflection, allowed)
|
27
|
+
2020-02-26 22:19:18.738 9372-9372/com.example.flutter_app W/ple.flutter_ap: Accessing hidden method Landroid/util/LongArray;->get(I)J (greylist, reflection, allowed)
|
28
|
+
2020-02-26 22:19:18.790 9372-9399/com.example.flutter_app W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
|
29
|
+
2020-02-26 22:19:18.893 9372-9403/com.example.flutter_app W/Gralloc3: mapper 3.x is not supported
|
30
|
+
```
|
31
|
+
|
32
|
+
|
33
|
+
|
14
34
|
もしこの事象の解決になにかしら知見がある方がいらっしゃいましたらご教示いただければ幸いです。
|
15
35
|
|
16
36
|
よろしくお願いいたします。
|