2016-04-29 15 views
0

私はアンドロイドスタジオ2.1を使用しています。私は、アプリケーションを実行すると、私はこの種のエラーを取得しています。

04-29 10:47:50.870 20286-20286/com.demo.a_fatal E/Trace: error opening trace file: No such file or directory (2) 
04-29 10:47:50.910 20286-20286/com.demo.a_fatal E/InstantRun: Could not find slices in APK; aborting. 
04-29 10:47:50.920 20286-20286/com.demo.a_fatal E/dalvikvm: Could not find class 'android.app.Application$OnProvideAssistDataListener', referenced from method com.demo.a_fatal.applications.AFatalApp.access$super 
04-29 10:47:50.920 20286-20286/com.demo.a_fatal E/dalvikvm: Could not find class 'android.app.Application$OnProvideAssistDataListener', referenced from method com.demo.a_fatal.applications.AFatalApp.access$super 
04-29 10:47:51.010 20286-20286/com.demo.a_fatal E/dalvikvm: Could not find class 'android.util.ArrayMap', referenced from method com.android.tools.fd.runtime.MonkeyPatcher.monkeyPatchExistingResources 
04-29 10:47:51.010 20286-20286/com.demo.a_fatal E/dalvikvm: Could not find class 'android.util.ArrayMap', referenced from method com.android.tools.fd.runtime.MonkeyPatcher.pruneResourceCache 
04-29 10:47:51.080 20286-20286/com.demo.a_fatal E/dalvikvm: Could not find class 'android.os.PersistableBundle', referenced from method com.demo.a_fatal.SplashActivity.access$super 
04-29 10:47:51.080 20286-20286/com.demo.a_fatal E/dalvikvm: Could not find class 'android.os.PersistableBundle', referenced from method com.demo.a_fatal.SplashActivity.access$super 
04-29 10:47:51.080 20286-20286/com.demo.a_fatal E/dalvikvm: Could not find class 'android.media.session.MediaController', referenced from method com.demo.a_fatal.SplashActivity.access$super 
04-29 10:47:51.080 20286-20286/com.demo.a_fatal E/dalvikvm: Could not find class 'android.widget.Toolbar', referenced from method com.demo.a_fatal.SplashActivity.access$super 
04-29 10:47:51.090 20286-20286/com.demo.a_fatal E/dalvikvm: Could not find class 'android.app.ActivityManager$TaskDescription', referenced from method com.demo.a_fatal.SplashActivity.access$super 
04-29 10:47:51.100 20286-20286/com.demo.a_fatal E/dalvikvm: Could not find class 'android.app.SharedElementCallback', referenced from method com.demo.a_fatal.SplashActivity.access$super 
04-29 10:47:51.100 20286-20286/com.demo.a_fatal E/dalvikvm: Could not find class 'android.os.PersistableBundle', referenced from method com.demo.a_fatal.SplashActivity.access$super 
04-29 10:47:51.100 20286-20286/com.demo.a_fatal E/dalvikvm: Could not find class 'android.transition.TransitionManager', referenced from method com.demo.a_fatal.SplashActivity.access$super 
04-29 10:47:51.100 20286-20286/com.demo.a_fatal E/dalvikvm: Could not find class 'android.app.SharedElementCallback', referenced from method com.demo.a_fatal.SplashActivity.access$super 
04-29 10:47:51.110 20286-20286/com.demo.a_fatal E/dalvikvm: Could not find class 'android.app.assist.AssistContent', referenced from method com.demo.a_fatal.SplashActivity.access$super 
04-29 10:47:51.110 20286-20286/com.demo.a_fatal E/dalvikvm: Could not find class 'android.view.SearchEvent', referenced from method com.demo.a_fatal.SplashActivity.access$super 
04-29 10:47:51.110 20286-20286/com.demo.a_fatal E/dalvikvm: Could not find class 'android.os.PersistableBundle', referenced from method com.demo.a_fatal.SplashActivity.access$super 
04-29 10:47:51.130 20286-20286/com.demo.a_fatal E/dalvikvm: Could not find class 'android.os.PersistableBundle', referenced from method com.demo.a_fatal.global.AFatalActivity.access$super 
04-29 10:47:51.130 20286-20286/com.demo.a_fatal E/dalvikvm: Could not find class 'android.os.PersistableBundle', referenced from method com.demo.a_fatal.global.AFatalActivity.access$super 
04-29 10:47:51.130 20286-20286/com.demo.a_fatal E/dalvikvm: Could not find class 'android.media.session.MediaController', referenced from method com.demo.a_fatal.global.AFatalActivity.access$super 
04-29 10:47:51.130 20286-20286/com.demo.a_fatal E/dalvikvm: Could not find class 'android.widget.Toolbar', referenced from method com.demo.a_fatal.global.AFatalActivity.access$super 
04-29 10:47:51.130 20286-20286/com.demo.a_fatal E/dalvikvm: Could not find class 'android.app.ActivityManager$TaskDescription', referenced from method com.demo.a_fatal.global.AFatalActivity.access$super 
04-29 10:47:51.130 20286-20286/com.demo.a_fatal E/dalvikvm: Could not find class 'android.app.SharedElementCallback', referenced from method com.demo.a_fatal.global.AFatalActivity.access$super 
04-29 10:47:51.130 20286-20286/com.demo.a_fatal E/dalvikvm: Could not find class 'android.os.PersistableBundle', referenced from method com.demo.a_fatal.global.AFatalActivity.access$super 
04-29 10:47:51.130 20286-20286/com.demo.a_fatal E/dalvikvm: Could not find class 'android.transition.TransitionManager', referenced from method com.demo.a_fatal.global.AFatalActivity.access$super 
04-29 10:47:51.130 20286-20286/com.demo.a_fatal E/dalvikvm: Could not find class 'android.app.SharedElementCallback', referenced from method com.demo.a_fatal.global.AFatalActivity.access$super 
04-29 10:47:51.140 20286-20286/com.demo.a_fatal E/dalvikvm: Could not find class 'android.app.assist.AssistContent', referenced from method com.demo.a_fatal.global.AFatalActivity.access$super 
04-29 10:47:51.150 20286-20286/com.demo.a_fatal E/dalvikvm: Could not find class 'android.view.SearchEvent', referenced from method com.demo.a_fatal.global.AFatalActivity.access$super 
04-29 10:47:51.150 20286-20286/com.demo.a_fatal E/dalvikvm: Could not find class 'android.os.PersistableBundle', referenced from method com.demo.a_fatal.global.AFatalActivity.access$super 
04-29 10:47:51.160 20286-20286/com.demo.a_fatal E/dalvikvm: Could not find class 'android.view.SearchEvent', referenced from method com.demo.a_fatal.dialog.ProgressDialog.access$super 

どうすればこのエラーを解決できますか?

+0

http://stackoverflow.com/questions/31342684/getting-error-could-not-find-class-android-app-appopsmanager-referenced-from – sasikumar

答えて

0

あなたが唯一のAPIレベル21.Theの問題から利用可能である方法にしようとしているので、あなたがこの問題を持っているがcompileSdkVersion 22 &更新するために変化 コンパイル「にbuild.gradleありますcom.android.support:appcompat- v7:22.0.0 '

2

see this。 私はまた、この問題に遭遇しました。それを解決する方法は次の通りです: "InstantRun"機能を無効にしてから、 "File"メニューの "Invalidate Cache/Restart"をクリックし、apkを電話でアンインストールしてください。それを再建する。そのようなエラーはありません。実際、これらのエラーはapkに何の違いもありません。

関連する問題