質問編集履歴

1

情報不足のため、加筆修正いたしました。

2020/02/26 13:36

投稿

退会済みユーザー
test CHANGED
@@ -1 +1 @@
1
- エミュレーターではインストールできるのにAndroidの実機にはインストールに失敗する事象について
1
+ エミュレーターではインストールできるのにAndroidの実機にはインストールできない事象について
test CHANGED
@@ -1,26 +1,66 @@
1
- Flutterアプリを作成しており、いざ実機にインストールしようとしたところ、エミューレータでは成功していたインストールが失敗しました。
1
+ Android StudioでFlutterアプリを作成しており、いざ実機(OnePlus5)にインストールしようとしたところ、エミューレータでは成功していたインストールができせんでした。
2
2
 
3
3
 
4
4
 
5
- logcatで"Flutter"で絞って観察したところ、以下のようなログが出力されていますが、まだ原因が特定できていません
5
+ 具体的には、以下のように「Installing~」の箇所から動かくなります。
6
6
 
7
7
 
8
8
 
9
9
  ```
10
10
 
11
- 2020-02-26 18:36:59.328 912-912/? E/cutils: Failed to open(/data/misc/profiles/cur/0/com.example.flutter_app/primary.prof): No such file or directory
11
+ Launching lib\main.dart on ONEPLUS A5000 in debug mode...
12
12
 
13
- 2020-02-26 18:36:59.328 912-912/? E/installed: Failed to prepare /data/misc/profiles/cur/0/com.example.flutter_app/primary.prof: No such file or directory
13
+ Running Gradle task 'assembleDebug'...
14
14
 
15
- 2020-02-26 18:36:59.328 1371-1545/? E/ArtManagerService: Failed to prepare profile for com.example.flutter_app:/data/app/com.example.flutter_app-oHx8gG_DuFXtPa8JSAYbKg==/base.apk
15
+ Built build\app\outputs\apk\debug\app-debug.apk.
16
16
 
17
- 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
18
-
19
- 2020-02-26 18:36:59.329 912-912/? E/installed: Failed to prepare /data/misc/profiles/cur/10/com.example.flutter_app/primary.prof: No such file or directory
17
+ Installing build\app\outputs\apk\app.apk...
20
-
21
- 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
22
18
 
23
19
  ```
20
+
21
+
22
+
23
+ インストールはAndroid Studioから実機を指定して実行することを意味しています。
24
+
25
+ 実機のドライバはインストール済みであり、過去、別のアプリを実装し、同様の方法でインストールしたことが複数回あります。
26
+
27
+
28
+
29
+ logcatで"Flutter"で絞って観察したところ、warn以上のログとしては以下のようなものが出力されていますが、まだ原因が特定できていません。
30
+
31
+
32
+
33
+ ```
34
+
35
+ 2020-02-26 22:19:17.837 9372-9372/? E/ple.flutter_ap: Unknown bits set in runtime_flags: 0x8000
36
+
37
+ 2020-02-26 22:19:17.838 9372-9372/? W/ple.flutter_ap: Unexpected CPU variant for X86 using defaults: x86
38
+
39
+ 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.
40
+
41
+ 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.
42
+
43
+ 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
44
+
45
+ 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)
46
+
47
+ 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)
48
+
49
+ 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)
50
+
51
+ 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)
52
+
53
+ 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)
54
+
55
+ 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...
56
+
57
+ 2020-02-26 22:19:18.893 9372-9403/com.example.flutter_app W/Gralloc3: mapper 3.x is not supported
58
+
59
+ ```
60
+
61
+
62
+
63
+
24
64
 
25
65
 
26
66