diff --git a/cmd/gomobile/manifest.go b/cmd/gomobile/manifest.go index 5ab308b..75f3968 100644 --- a/cmd/gomobile/manifest.go +++ b/cmd/gomobile/manifest.go @@ -32,8 +32,8 @@ func manifestLibName(data []byte) (string, error) { if err := xml.Unmarshal(data, manifest); err != nil { return "", err } - if manifest.Activity.Name != "android.app.NativeActivity" { - return "", fmt.Errorf("can only build an .apk for NativeActivity, not %q", manifest.Activity.Name) + if manifest.Activity.Name != "org.golang.app.GoNativeActivity" { + return "", fmt.Errorf("can only build an .apk for GoNativeActivity, not %q", manifest.Activity.Name) } libName := "" for _, md := range manifest.Activity.MetaData { diff --git a/example/network/AndroidManifest.xml b/example/network/AndroidManifest.xml index 26edb27..312b4f3 100644 --- a/example/network/AndroidManifest.xml +++ b/example/network/AndroidManifest.xml @@ -18,9 +18,9 @@ license that can be found in the LICENSE file. http://developer.android.com/guide/topics/manifest/manifest-intro.html#perms --> - + -