0
我登錄屏幕上工作的應用程序整蠱Android的登錄屏幕
我按照這個教程的信
http://javapapers.com/android/beautiful-android-login-screen-design-tutorial/ (不包括由源不是抄襲偷懶,只以爲是最好添加鏈接信貸別人的辛勤工作)
有一對夫婦的權限從教程,這是我加入,但無濟於事失蹤的
我也來回增加我的API米15到16,這也沒有工作
我收到以下錯誤
05-11 19:23:21.240 28766-28766/? E/dalvikvm﹕ >>>>> com.example.alex.jsonparsegridview [ userId:0 | appId:10263 ]
05-11 19:23:21.490 28766-28792/com.example.alex.jsonparsegridview E/AndroidRuntime﹕ FATAL EXCEPTION: AsyncTask #1
Process: com.example.alex.jsonparsegridview, PID: 28766
java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:300)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
at java.util.concurrent.FutureTask.setException(FutureTask.java:222)
at java.util.concurrent.FutureTask.run(FutureTask.java:242)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:841)
Caused by: java.lang.SecurityException: Neither user 10263 nor current process has android.permission.READ_PROFILE.
at android.os.Parcel.readException(Parcel.java:1465)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:185)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:137)
at android.content.ContentProviderProxy.query(ContentProviderNative.java:413)
at android.content.ContentResolver.query(ContentResolver.java:477)
at android.content.CursorLoader.loadInBackground(CursorLoader.java:65)
at android.content.CursorLoader.loadInBackground(CursorLoader.java:43)
at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:312)
at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:69)
at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:57)
at android.os.AsyncTask$2.call(AsyncTask.java:288)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:841)
這工作得很好。乾杯 – PowerMan2015
歡迎您 –