Setting android:versionName as reference to string resource leads to NullPointerException under the emulator
问题 I'm trying to set the android:versionName in my android manifest as a reference to string resource stored in external resource file. Below is an excerpt from my AndroidManifest.xml : <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.toycorporation" android:versionCode="@integer/version_code" android:versionName="@string/version_name" > and the content of build.xml file located under res/values disrectory of my project: <?xml version="1.0" encoding="utf-8"?>