我已经将metaio SDK升级到版本6,并且在具有OS版本4.0的Android设备中遇到问题。我得到了以下错误。
Could not find class 'com.metaio.sdk.ARViewActivity$1', referenced from method com.metaio.sdk.ARViewActivity.onCreate
Could not find class 'android.hardware.display.DisplayManager', referenced from method com.metaio.sdk.ARViewActivity.onPause
Could not find class 'android.hardware.display.DisplayManager', referenced from method com.metaio.sdk.ARViewActivity.onResume我找不到这个错误的原因。
发布于 2015-02-24 20:08:39
权限似乎发生了变化
从…
<uses-feature
android:name="android.hardware.sensor.accelerometer"
android:required="false" />
<uses-feature
android:name="android.hardware.sensor.compass"
android:required="false" />
<uses-feature
android:name="android.hardware.sensor.gyroscope"
android:required="false" />到这个
<uses-feature
android:name="android.hardware.sensor.accelerometer"
android:required="true" />
<uses-feature
android:name="android.hardware.sensor.compass"
android:required="true" />
<uses-feature
android:name="android.hardware.sensor.gyroscope"
android:required="true" />https://stackoverflow.com/questions/28695333
复制相似问题