Open eliasnaur opened 6 years ago
Running go test golang.org/x/mobile/app:
--- FAIL: TestAndroidApp (1.01s) app_test.go:232: gomobile version app_test.go:232: gomobile install golang.org/x/mobile/app/internal/testapp app_test.go:235: gomobile install golang.org/x/mobile/app/internal/testapp exit status 1: gomobile: manual declaration of uses-sdk in AndroidManifest.xml not supported FAIL FAIL golang.org/x/mobile/app 1.015s
Even after removing the explicit element from app/internal/testapp/AndroidManifest.xml, TestAndroidApp still fails:
--- FAIL: TestAndroidApp (2.78s) app_test.go:232: gomobile version app_test.go:232: gomobile install golang.org/x/mobile/app/internal/testapp app_test.go:77: local address: tcp:43823 app_test.go:232: adb reverse tcp:12533 tcp:43823 app_test.go:232: adb shell input keyevent 26 app_test.go:232: adb shell input keyevent 82 app_test.go:232: adb shell content insert --uri content://settings/system --bind name:s:accelerometer_rotation --bind value:i:0 app_test.go:232: adb shell content insert --uri content://settings/system --bind name:s:user_rotation --bind value:i:0 app_test.go:232: adb shell am start -n org.golang.testapp/org.golang.app.GoNativeActivity app_test.go:128: comm.recv: hello_from_testapp app_test.go:128: comm.send: hello_from_host app_test.go:128: comm.recv: lifecycle_visible app_test.go:128: comm.recv: size 2.2222223 1 app_test.go:128: comm.recv: paint red app_test.go:232: adb shell content insert --uri content://settings/system --bind name:s:user_rotation --bind value:i:1 app_test.go:128: comm.recv: size 2.2222223 1 app_test.go:151: want orientation 2, got 1 app_test.go:232: adb shell input tap 50 260 app_test.go:128: comm.recv: size 2.2222223 1 app_test.go:127: cannot scan recv command touch: "size 2.2222223 1": EOF FAIL FAIL golang.org/x/mobile/app 2.789s
Change https://golang.org/cl/93997 mentions this issue: app: skip failing TestAndroidApp test
app: skip failing TestAndroidApp test
Running go test golang.org/x/mobile/app:
Even after removing the explicit element from app/internal/testapp/AndroidManifest.xml, TestAndroidApp still fails: