teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

4

input\.xml

2017/04/18 07:07

投稿

rei-
rei-

スコア11

title CHANGED
File without changes
body CHANGED
@@ -3,7 +3,7 @@
3
3
  最終的には日本語のフリック入力ができるようにしたいのですが、
4
4
  とりあえずアルファベットを入力できるようにしたいです。
5
5
 
6
- AndroidのIME機能を使って寿司ネタキーボードを作る(https://allabout.co.jp/gm/gc/442982/)
6
+ [AndroidのIME機能を使って寿司ネタキーボードを作る](https://allabout.co.jp/gm/gc/442982/)
7
7
  を参考にプログラムを書きました。
8
8
 
9
9
  ###発生している問題
@@ -26,7 +26,7 @@
26
26
  Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
27
27
  ```
28
28
 
29
- ###ここに問題ありそう
29
+ ###ここに問題ありそう(layout/input.xml)
30
30
  ```layout/input.xml
31
31
  <?xml version="1.0" encoding="utf-8"?>
32
32
 

3

AndroidManifest

2017/04/18 07:06

投稿

rei-
rei-

スコア11

title CHANGED
File without changes
body CHANGED
@@ -8,53 +8,75 @@
8
8
 
9
9
  ###発生している問題
10
10
  実行までできるのですが、自作のキーボードを選択すると落ちてしまいます。
11
- 場合、ど原因を探せば良いでょうか
11
+ デバックで以下に出ま
12
- Androidアプリを触ったことがないので、ファイルの構成があっているのかどうかも怪しいです。
12
+
13
- ファイルの構成は以下の通り
13
+ ###デバッグ
14
+ 削ってます
14
15
  ```
15
- app > manifests > AndroidManifest.xml
16
- > java > com.minami.ime > InputIME
17
- > MainActivity
18
- > MyKeyboard
19
- > MyKeyboardView
20
- > res > drawable
21
- > layout > activity_main.xml
22
- > input.xml
23
- > mipmap
24
- > values > colors.xml
25
- > dimens.xml
26
- > strings.xml
27
- > styles.xml
28
- > xml > method.xml
29
- > mykeyboard.xml
16
+ 4-18 15:29:04.351 16029-16029/com.example.minami.samplecode E/AndroidRuntime: FATAL EXCEPTION: main
17
+ Process: com.example.minami.samplecode, PID: 16029
18
+ android.view.InflateException: Binary XML file line #3: Binary XML file line #3: Error inflating class com.example.minami.samplecode
19
+ at android.view.LayoutInflater.inflate(LayoutInflater.java:539)
20
+ at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
21
+ at android.view.LayoutInflater.inflate(LayoutInflater.java:374)
22
+ at com.example.minami.samplecode.InputIME.onCreateInputView(InputIME.java:45)
23
+ Caused by: android.view.InflateException: Binary XML file line #3: Error inflating class com.example.minami.samplecode
24
+ Caused by: java.lang.ClassNotFoundException: Didn't find class "com.example.minami.samplecode" on path: DexPathList[[zip file "/data/app/com.example.minami.samplecode-1/base.apk", zip file "/data/app/com.example.minami.samplecode-1/split_lib_dependencies_apk.apk", zip file "/data/app/com.example.minami.samplecode-1/split_lib_slice_0_apk.apk", zip file "/data/app/com.example.minami.samplecode-1/split_lib_slice_1_apk.apk", zip file "/data/app/com.example.minami.samplecode-1/split_lib_slice_2_apk.apk", zip file "/data/app/com.example.minami.samplecode-1/split_lib_slice_3_apk.apk", zip file "/data/app/com.example.minami.samplecode-1/split_lib_slice_4_apk.apk", zip file "/data/app/com.example.minami.samplecode-1/split_lib_slice_5_apk.apk", zip file "/data/app/com.example.minami.samplecode-1/split_lib_slice_6_apk.apk", zip file "/data/app/com.example.minami.samplecode-1/split_lib_slice_7_apk.apk", zip file "/data/app/com.example.minami.samplecode-1/split_lib_slice_8_apk.apk", zip file "/data/app/com.example.minami.samplecode-1/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/com.example.minami.samplecode-1/lib/arm64, /vendor/lib64, /system/lib64]]
25
+ Suppressed: java.lang.ClassNotFoundException: com.example.minami.samplecode
26
+ Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
27
+ ```
30
28
 
29
+ ###ここに問題ありそう?
30
+ ```layout/input.xml
31
+ <?xml version="1.0" encoding="utf-8"?>
32
+
33
+ <com.example.minami.samplecode
34
+ xmlns:android="http://schemas.android.com/apk/res/android"
35
+ android:id="@+id/keyboard"
36
+ android:layout_alignParentBottom="true"
37
+ android:layout_width="match_parent"
38
+ android:layout_height="wrap_content"
39
+ />
31
40
  ```
32
- ###デバッグ
33
- ```
34
- 04-18 14:45:22.557 22795-22795/? I/art: Late-enabling -Xcheck:jni
35
- 04-18 14:45:22.625 22795-22795/com.example.minami.samplecode W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.example.minami.samplecode-1/split_lib_dependencies_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.example.minami.samplecode-1@split_lib_dependencies_apk.apk@classes.dex) because non-0 exit status
36
- 04-18 14:45:22.750 22795-22795/com.example.minami.samplecode W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.example.minami.samplecode-1/split_lib_slice_0_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.example.minami.samplecode-1@split_lib_slice_0_apk.apk@classes.dex) because non-0 exit status
37
- 04-18 14:45:22.782 22795-22795/com.example.minami.samplecode W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.example.minami.samplecode-1/split_lib_slice_1_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.example.minami.samplecode-1@split_lib_slice_1_apk.apk@classes.dex) because non-0 exit status
38
- 04-18 14:45:22.813 22795-22795/com.example.minami.samplecode W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.example.minami.samplecode-1/split_lib_slice_2_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.example.minami.samplecode-1@split_lib_slice_2_apk.apk@classes.dex) because non-0 exit status
39
- 04-18 14:45:22.845 22795-22795/com.example.minami.samplecode W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.example.minami.samplecode-1/split_lib_slice_3_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.example.minami.samplecode-1@split_lib_slice_3_apk.apk@classes.dex) because non-0 exit status
40
- 04-18 14:45:22.879 22795-22795/com.example.minami.samplecode W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.example.minami.samplecode-1/split_lib_slice_4_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.example.minami.samplecode-1@split_lib_slice_4_apk.apk@classes.dex) because non-0 exit status
41
- 04-18 14:45:22.913 22795-22795/com.example.minami.samplecode W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.example.minami.samplecode-1/split_lib_slice_5_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.example.minami.samplecode-1@split_lib_slice_5_apk.apk@classes.dex) because non-0 exit status
42
- 04-18 14:45:22.945 22795-22795/com.example.minami.samplecode W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.example.minami.samplecode-1/split_lib_slice_6_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.example.minami.samplecode-1@split_lib_slice_6_apk.apk@classes.dex) because non-0 exit status
43
- 04-18 14:45:22.977 22795-22795/com.example.minami.samplecode W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.example.minami.samplecode-1/split_lib_slice_7_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.example.minami.samplecode-1@split_lib_slice_7_apk.apk@classes.dex) because non-0 exit status
44
- 04-18 14:45:23.015 22795-22795/com.example.minami.samplecode W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.example.minami.samplecode-1/split_lib_slice_8_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.example.minami.samplecode-1@split_lib_slice_8_apk.apk@classes.dex) because non-0 exit status
45
- 04-18 14:45:23.047 22795-22795/com.example.minami.samplecode W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.example.minami.samplecode-1/split_lib_slice_9_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.example.minami.samplecode-1@split_lib_slice_9_apk.apk@classes.dex) because non-0 exit status
46
- 04-18 14:45:23.048 22795-22795/com.example.minami.samplecode W/System: ClassLoader referenced unknown path: /data/app/com.example.minami.samplecode-1/lib/arm64
47
- 04-18 14:45:23.050 22795-22795/com.example.minami.samplecode I/InstantRun: starting instant run server: is main process
48
- 04-18 14:45:23.101 22795-22795/com.example.minami.samplecode W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
49
- 04-18 14:45:23.213 22795-22963/com.example.minami.samplecode D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
50
- 04-18 14:45:23.249 22795-22963/com.example.minami.samplecode I/Adreno: QUALCOMM build : bf7710d, I0bc8e21cf2
51
- Build Date : 03/09/16
52
- OpenGL ES Shader Compiler Version: XE031.06.00.02
53
- Local Branch :
54
- Remote Branch : quic/LA.BF64.1.2.2_rb4.28
55
- Remote Branch : NONE
56
- Reconstruct Branch : NOTHING
57
- 04-18 14:45:23.254 22795-22963/com.example.minami.samplecode I/OpenGLRenderer: Initialized EGL, version 1.4
58
- 04-18 14:45:23.281 22795-22795/com.example.minami.samplecode W/art: Before Android 4.1, method int android.support.v7.widget.ListViewCompat.lookForSelectablePosition(int, boolean) would have incorrectly overridden the package-private method in android.widget.ListView
59
- 04-18 14:45:23.360 22795-22795/com.example.minami.samplecode I/Timeline: Timeline: Activity_idle id: android.os.BinderProxy@403d07b time:5867131
41
+ ###AndroidManifest.xml
42
+ ```AndroidManifest.xml
43
+ <?xml version="1.0" encoding="utf-8"?>
44
+ <manifest xmlns:android="http://schemas.android.com/apk/res/android"
45
+ package="com.example.minami.samplecode">
46
+
47
+ <application
48
+ android:allowBackup="true"
49
+ android:icon="@mipmap/ic_launcher"
50
+ android:label="@string/app_name"
51
+ android:roundIcon="@mipmap/ic_launcher_round"
52
+ android:supportsRtl="true"
53
+ android:theme="@style/AppTheme">
54
+
55
+ <service
56
+ android:name=".InputIME"
57
+ android:label="@string/fast_input_label"
58
+ android:permission="android.permission.BIND_INPUT_METHOD">
59
+ <intent-filter>
60
+ <action android:name="android.view.InputMethod" />
61
+ </intent-filter>
62
+
63
+ <meta-data
64
+ android:name="android.view.im"
65
+ android:resource="@xml/method" />
66
+ </service>
67
+
68
+ <activity
69
+ android:name="InputIMESetting"
70
+ android:label="@string/action_setting">
71
+ <intent-filter>
72
+ <action android:name="android.intent.action.MAIN" />
73
+ <category android:name="android.intent.category.LAUNCHER" />
74
+
75
+ </intent-filter>
76
+ </activity>
77
+
78
+
79
+ </application>
80
+
81
+ </manifest>
60
82
  ```

2

デバッグ

2017/04/18 06:38

投稿

rei-
rei-

スコア11

title CHANGED
File without changes
body CHANGED
@@ -29,78 +29,32 @@
29
29
  > mykeyboard.xml
30
30
 
31
31
  ```
32
-
33
- ###コンソール
32
+ ###デバッグ
34
33
  ```
35
- Executing tasks: [:app:assembleDebug]
36
-
37
- Configuration on demand is an incubating feature.
38
- NDK is missing a "platforms" directory.
39
- If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to /Users/minami/Library/Android/sdk/ndk-bundle.
40
- If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
41
-
42
- Incremental java compilation is an incubating feature.
43
- :app:buildInfoDebugLoader
44
- :app:preBuild UP-TO-DATE
45
- :app:preDebugBuild UP-TO-DATE
46
- :app:checkDebugManifest
47
- :app:prepareComAndroidSupportAnimatedVectorDrawable2531Library
48
- :app:prepareComAndroidSupportAppcompatV72531Library
49
- :app:prepareComAndroidSupportConstraintConstraintLayout102Library
50
- :app:prepareComAndroidSupportSupportCompat2531Library
51
- :app:prepareComAndroidSupportSupportCoreUi2531Library
52
- :app:prepareComAndroidSupportSupportCoreUtils2531Library
53
- :app:prepareComAndroidSupportSupportFragment2531Library
54
- :app:prepareComAndroidSupportSupportMediaCompat2531Library
55
- :app:prepareComAndroidSupportSupportV42531Library
56
- :app:prepareComAndroidSupportSupportVectorDrawable2531Library
57
- :app:prepareDebugDependencies
58
- :app:compileDebugAidl UP-TO-DATE
59
- :app:compileDebugRenderscript UP-TO-DATE
60
- :app:generateDebugBuildConfig UP-TO-DATE
61
- :app:generateDebugResValues UP-TO-DATE
62
- :app:generateDebugResources UP-TO-DATE
63
- :app:mergeDebugResources UP-TO-DATE
64
- :app:processDebugManifest UP-TO-DATE
65
- :app:processDebugResources UP-TO-DATE
66
- :app:generateDebugSources
67
- :app:incrementalDebugJavaCompilationSafeguard UP-TO-DATE
68
- :app:javaPreCompileDebug
69
- :app:compileDebugJavaWithJavac
70
- Incremental compilation of 1 classes completed in 0.555 secs.
71
- :app:mergeDebugShaders UP-TO-DATE
72
- :app:compileDebugShaders UP-TO-DATE
73
- :app:generateDebugAssets UP-TO-DATE
74
- :app:mergeDebugAssets UP-TO-DATE
75
- :app:processDebugJavaRes UP-TO-DATE
76
- :app:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
77
- :app:packageInstantRunResourcesDebug UP-TO-DATE
78
- :app:fastDeployDebugExtractor UP-TO-DATE
79
- :app:generateDebugInstantRunAppInfo UP-TO-DATE
80
- :app:checkManifestChangesDebug
81
- :app:transformClassesWithExtractJarsForDebug UP-TO-DATE
82
- :app:transformClassesWithInstantRunVerifierForDebug
83
- :app:transformClassesWithDependencyCheckerForDebug UP-TO-DATE
84
- :app:compileDebugNdk UP-TO-DATE
85
- :app:mergeDebugJniLibFolders UP-TO-DATE
86
- :app:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
87
- :app:transformNativeLibsAndResourcesWithJavaResourcesVerifierForDebug UP-TO-DATE
88
- :app:transformClassesWithInstantRunForDebug
89
- :app:transformClassesEnhancedWithInstantReloadDexForDebug
90
- :app:incrementalDebugTasks
91
- :app:preColdswapDebug
92
- :app:transformClassesWithInstantRunSlicerForDebug
93
- :app:transformClassesWithDexForDebug
94
- :app:validateSigningDebug
95
- :app:transformDexWithInstantRunDependenciesApkForDebug
96
- :app:transformDexWithInstantRunSlicesApkForDebug
97
- :app:packageDebug UP-TO-DATE
98
- :app:buildInfoGeneratorDebug
99
- :app:compileDebugSources
100
- :app:assembleDebug
101
-
102
- BUILD SUCCESSFUL
103
-
104
- Total time: 6.773 secs
105
-
34
+ 04-18 14:45:22.557 22795-22795/? I/art: Late-enabling -Xcheck:jni
35
+ 04-18 14:45:22.625 22795-22795/com.example.minami.samplecode W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.example.minami.samplecode-1/split_lib_dependencies_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.example.minami.samplecode-1@split_lib_dependencies_apk.apk@classes.dex) because non-0 exit status
36
+ 04-18 14:45:22.750 22795-22795/com.example.minami.samplecode W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.example.minami.samplecode-1/split_lib_slice_0_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.example.minami.samplecode-1@split_lib_slice_0_apk.apk@classes.dex) because non-0 exit status
37
+ 04-18 14:45:22.782 22795-22795/com.example.minami.samplecode W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.example.minami.samplecode-1/split_lib_slice_1_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.example.minami.samplecode-1@split_lib_slice_1_apk.apk@classes.dex) because non-0 exit status
38
+ 04-18 14:45:22.813 22795-22795/com.example.minami.samplecode W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.example.minami.samplecode-1/split_lib_slice_2_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.example.minami.samplecode-1@split_lib_slice_2_apk.apk@classes.dex) because non-0 exit status
39
+ 04-18 14:45:22.845 22795-22795/com.example.minami.samplecode W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.example.minami.samplecode-1/split_lib_slice_3_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.example.minami.samplecode-1@split_lib_slice_3_apk.apk@classes.dex) because non-0 exit status
40
+ 04-18 14:45:22.879 22795-22795/com.example.minami.samplecode W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.example.minami.samplecode-1/split_lib_slice_4_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.example.minami.samplecode-1@split_lib_slice_4_apk.apk@classes.dex) because non-0 exit status
41
+ 04-18 14:45:22.913 22795-22795/com.example.minami.samplecode W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.example.minami.samplecode-1/split_lib_slice_5_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.example.minami.samplecode-1@split_lib_slice_5_apk.apk@classes.dex) because non-0 exit status
42
+ 04-18 14:45:22.945 22795-22795/com.example.minami.samplecode W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.example.minami.samplecode-1/split_lib_slice_6_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.example.minami.samplecode-1@split_lib_slice_6_apk.apk@classes.dex) because non-0 exit status
43
+ 04-18 14:45:22.977 22795-22795/com.example.minami.samplecode W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.example.minami.samplecode-1/split_lib_slice_7_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.example.minami.samplecode-1@split_lib_slice_7_apk.apk@classes.dex) because non-0 exit status
44
+ 04-18 14:45:23.015 22795-22795/com.example.minami.samplecode W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.example.minami.samplecode-1/split_lib_slice_8_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.example.minami.samplecode-1@split_lib_slice_8_apk.apk@classes.dex) because non-0 exit status
45
+ 04-18 14:45:23.047 22795-22795/com.example.minami.samplecode W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/com.example.minami.samplecode-1/split_lib_slice_9_apk.apk --oat-file=/data/dalvik-cache/arm64/data@app@com.example.minami.samplecode-1@split_lib_slice_9_apk.apk@classes.dex) because non-0 exit status
46
+ 04-18 14:45:23.048 22795-22795/com.example.minami.samplecode W/System: ClassLoader referenced unknown path: /data/app/com.example.minami.samplecode-1/lib/arm64
47
+ 04-18 14:45:23.050 22795-22795/com.example.minami.samplecode I/InstantRun: starting instant run server: is main process
48
+ 04-18 14:45:23.101 22795-22795/com.example.minami.samplecode W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
49
+ 04-18 14:45:23.213 22795-22963/com.example.minami.samplecode D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
50
+ 04-18 14:45:23.249 22795-22963/com.example.minami.samplecode I/Adreno: QUALCOMM build : bf7710d, I0bc8e21cf2
51
+ Build Date : 03/09/16
52
+ OpenGL ES Shader Compiler Version: XE031.06.00.02
53
+ Local Branch :
54
+ Remote Branch : quic/LA.BF64.1.2.2_rb4.28
55
+ Remote Branch : NONE
56
+ Reconstruct Branch : NOTHING
57
+ 04-18 14:45:23.254 22795-22963/com.example.minami.samplecode I/OpenGLRenderer: Initialized EGL, version 1.4
58
+ 04-18 14:45:23.281 22795-22795/com.example.minami.samplecode W/art: Before Android 4.1, method int android.support.v7.widget.ListViewCompat.lookForSelectablePosition(int, boolean) would have incorrectly overridden the package-private method in android.widget.ListView
59
+ 04-18 14:45:23.360 22795-22795/com.example.minami.samplecode I/Timeline: Timeline: Activity_idle id: android.os.BinderProxy@403d07b time:5867131
106
60
  ```

1

コンソール内容追加

2017/04/18 05:50

投稿

rei-
rei-

スコア11

title CHANGED
File without changes
body CHANGED
@@ -28,4 +28,79 @@
28
28
  > xml > method.xml
29
29
  > mykeyboard.xml
30
30
 
31
+ ```
32
+
33
+ ###コンソール
34
+ ```
35
+ Executing tasks: [:app:assembleDebug]
36
+
37
+ Configuration on demand is an incubating feature.
38
+ NDK is missing a "platforms" directory.
39
+ If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to /Users/minami/Library/Android/sdk/ndk-bundle.
40
+ If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
41
+
42
+ Incremental java compilation is an incubating feature.
43
+ :app:buildInfoDebugLoader
44
+ :app:preBuild UP-TO-DATE
45
+ :app:preDebugBuild UP-TO-DATE
46
+ :app:checkDebugManifest
47
+ :app:prepareComAndroidSupportAnimatedVectorDrawable2531Library
48
+ :app:prepareComAndroidSupportAppcompatV72531Library
49
+ :app:prepareComAndroidSupportConstraintConstraintLayout102Library
50
+ :app:prepareComAndroidSupportSupportCompat2531Library
51
+ :app:prepareComAndroidSupportSupportCoreUi2531Library
52
+ :app:prepareComAndroidSupportSupportCoreUtils2531Library
53
+ :app:prepareComAndroidSupportSupportFragment2531Library
54
+ :app:prepareComAndroidSupportSupportMediaCompat2531Library
55
+ :app:prepareComAndroidSupportSupportV42531Library
56
+ :app:prepareComAndroidSupportSupportVectorDrawable2531Library
57
+ :app:prepareDebugDependencies
58
+ :app:compileDebugAidl UP-TO-DATE
59
+ :app:compileDebugRenderscript UP-TO-DATE
60
+ :app:generateDebugBuildConfig UP-TO-DATE
61
+ :app:generateDebugResValues UP-TO-DATE
62
+ :app:generateDebugResources UP-TO-DATE
63
+ :app:mergeDebugResources UP-TO-DATE
64
+ :app:processDebugManifest UP-TO-DATE
65
+ :app:processDebugResources UP-TO-DATE
66
+ :app:generateDebugSources
67
+ :app:incrementalDebugJavaCompilationSafeguard UP-TO-DATE
68
+ :app:javaPreCompileDebug
69
+ :app:compileDebugJavaWithJavac
70
+ Incremental compilation of 1 classes completed in 0.555 secs.
71
+ :app:mergeDebugShaders UP-TO-DATE
72
+ :app:compileDebugShaders UP-TO-DATE
73
+ :app:generateDebugAssets UP-TO-DATE
74
+ :app:mergeDebugAssets UP-TO-DATE
75
+ :app:processDebugJavaRes UP-TO-DATE
76
+ :app:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
77
+ :app:packageInstantRunResourcesDebug UP-TO-DATE
78
+ :app:fastDeployDebugExtractor UP-TO-DATE
79
+ :app:generateDebugInstantRunAppInfo UP-TO-DATE
80
+ :app:checkManifestChangesDebug
81
+ :app:transformClassesWithExtractJarsForDebug UP-TO-DATE
82
+ :app:transformClassesWithInstantRunVerifierForDebug
83
+ :app:transformClassesWithDependencyCheckerForDebug UP-TO-DATE
84
+ :app:compileDebugNdk UP-TO-DATE
85
+ :app:mergeDebugJniLibFolders UP-TO-DATE
86
+ :app:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
87
+ :app:transformNativeLibsAndResourcesWithJavaResourcesVerifierForDebug UP-TO-DATE
88
+ :app:transformClassesWithInstantRunForDebug
89
+ :app:transformClassesEnhancedWithInstantReloadDexForDebug
90
+ :app:incrementalDebugTasks
91
+ :app:preColdswapDebug
92
+ :app:transformClassesWithInstantRunSlicerForDebug
93
+ :app:transformClassesWithDexForDebug
94
+ :app:validateSigningDebug
95
+ :app:transformDexWithInstantRunDependenciesApkForDebug
96
+ :app:transformDexWithInstantRunSlicesApkForDebug
97
+ :app:packageDebug UP-TO-DATE
98
+ :app:buildInfoGeneratorDebug
99
+ :app:compileDebugSources
100
+ :app:assembleDebug
101
+
102
+ BUILD SUCCESSFUL
103
+
104
+ Total time: 6.773 secs
105
+
31
106
  ```