diff --git a/apk/apkxml.go b/apk/apkxml.go index 99fec6d..abc6a1d 100644 --- a/apk/apkxml.go +++ b/apk/apkxml.go @@ -102,7 +102,7 @@ type UsesPermission struct { type Manifest struct { Package androidbinary.String `xml:"package,attr"` CompileSDKVersion androidbinary.Int32 `xml:"http://schemas.android.com/apk/res/android compileSdkVersion,attr"` - CompileSDKVersionCodename androidbinary.Int32 `xml:"http://schemas.android.com/apk/res/android compileSdkVersionCodename,attr"` + CompileSDKVersionCodename androidbinary.String `xml:"http://schemas.android.com/apk/res/android compileSdkVersionCodename,attr"` VersionCode androidbinary.Int32 `xml:"http://schemas.android.com/apk/res/android versionCode,attr"` VersionName androidbinary.String `xml:"http://schemas.android.com/apk/res/android versionName,attr"` App Application `xml:"application"` diff --git a/example_test.go b/example_test.go index cf6b65f..84b4c8f 100644 --- a/example_test.go +++ b/example_test.go @@ -25,7 +25,7 @@ func ExampleNewXMLFile() { enc.Encode(v) // Output: - // + // // // //