theone10211024 / apidemos Goto Github PK
View Code? Open in Web Editor NEWgoogle官方提供Android Api使用示例,堪称Android最好学习资料
google官方提供Android Api使用示例,堪称Android最好学习资料
07-01 12:53:54.463 13027-13027/? I/art: Late-enabling -Xcheck:jni 07-01 12:53:54.492 13027-13027/? D/TidaProvider: TidaProvider() 07-01 12:53:54.532 13027-13027/com.example.android.apis V/SettingsInterface: invalidate [system]: current 912 != cached 0 07-01 12:53:54.533 13027-13027/com.example.android.apis D/ActivityThread: hoder:android.app.IActivityManager$ContentProviderHolder@3eba0787,provider,holder.Provider:android.content.ContentProviderProxy@3cea86b4 07-01 12:53:54.662 13027-13027/com.example.android.apis I/art: Open dexFile: /data/app/com.example.android.apis-1/split_lib_dependencies_apk.apk, Fallback to original dex file with InterpretOnly 07-01 12:53:54.670 13027-13027/com.example.android.apis I/art: Open dexFile: /data/app/com.example.android.apis-1/split_lib_slice_0_apk.apk, Fallback to original dex file with InterpretOnly 07-01 12:53:54.739 13027-13027/com.example.android.apis I/art: Open dexFile: /data/app/com.example.android.apis-1/split_lib_slice_1_apk.apk, Fallback to original dex file with InterpretOnly 07-01 12:53:54.748 13027-13027/com.example.android.apis I/art: Open dexFile: /data/app/com.example.android.apis-1/split_lib_slice_2_apk.apk, Fallback to original dex file with InterpretOnly 07-01 12:53:54.754 13027-13027/com.example.android.apis I/art: Open dexFile: /data/app/com.example.android.apis-1/split_lib_slice_3_apk.apk, Fallback to original dex file with InterpretOnly 07-01 12:53:54.762 13027-13027/com.example.android.apis I/art: Open dexFile: /data/app/com.example.android.apis-1/split_lib_slice_4_apk.apk, Fallback to original dex file with InterpretOnly 07-01 12:53:54.772 13027-13027/com.example.android.apis I/art: Open dexFile: /data/app/com.example.android.apis-1/split_lib_slice_5_apk.apk, Fallback to original dex file with InterpretOnly 07-01 12:53:54.788 13027-13027/com.example.android.apis I/art: Open dexFile: /data/app/com.example.android.apis-1/split_lib_slice_6_apk.apk, Fallback to original dex file with InterpretOnly 07-01 12:53:54.790 13027-13027/com.example.android.apis I/art: Open dexFile: /data/app/com.example.android.apis-1/split_lib_slice_7_apk.apk, Fallback to original dex file with InterpretOnly 07-01 12:53:54.791 13027-13027/com.example.android.apis I/art: Open dexFile: /data/app/com.example.android.apis-1/split_lib_slice_8_apk.apk, Fallback to original dex file with InterpretOnly 07-01 12:53:54.817 13027-13027/com.example.android.apis I/art: Open dexFile: /data/app/com.example.android.apis-1/split_lib_slice_9_apk.apk, Fallback to original dex file with InterpretOnly 07-01 12:53:54.825 13027-13027/com.example.android.apis D/ActivityThread: installProvider: context.getPackageName()=com.example.android.apis 07-01 12:53:54.830 13027-13027/com.example.android.apis D/ActivityThread: installProvider: context.getPackageName()=com.example.android.apis 07-01 12:53:54.834 13027-13027/com.example.android.apis D/ActivityThread: installProvider: context.getPackageName()=com.example.android.apis 07-01 12:53:54.837 13027-13027/com.example.android.apis I/InstantRun: starting instant run server: is main process 07-01 12:53:54.839 13027-13027/com.example.android.apis D/ActivityThread: installProvider: context.getPackageName()=com.example.android.apis 07-01 12:53:54.842 13027-13027/com.example.android.apis D/ActivityThread: installProvider: context.getPackageName()=com.example.android.apis 07-01 12:53:54.869 13027-13027/com.example.android.apis V/ActivityThread: Handling launch of ActivityRecord{1832607f token=android.os.BinderProxy@813f84c {com.example.android.apis/com.example.android.apis.ApiDemos}} 07-01 12:53:54.887 13027-13027/com.example.android.apis V/ActivityThread: ActivityRecord{1832607f token=android.os.BinderProxy@813f84c {com.example.android.apis/com.example.android.apis.ApiDemos}}: app=com.example.android.apis.ApiDemosApplication@1f82a5aa, appName=com.example.android.apis, pkg=com.example.android.apis, comp={com.example.android.apis/com.example.android.apis.ApiDemos}, dir=/data/app/com.example.android.apis-1/base.apk 07-01 12:53:54.908 13027-13027/com.example.android.apis D/ApiDemos: ╔════════════════════════════════════════════════════════════════════════════════════════ 07-01 12:53:54.909 13027-13027/com.example.android.apis D/ApiDemos: ║ Thread: main 07-01 12:53:54.909 13027-13027/com.example.android.apis D/ApiDemos: ╟──────────────────────────────────────────────────────────────────────────────────────── 07-01 12:53:54.909 13027-13027/com.example.android.apis D/ApiDemos: ║ Activity.performCreate (Activity.java:6034) 07-01 12:53:54.909 13027-13027/com.example.android.apis D/ApiDemos: ║ ApiDemos.onCreate (ApiDemos.java:49) 07-01 12:53:54.909 13027-13027/com.example.android.apis D/ApiDemos: ╟──────────────────────────────────────────────────────────────────────────────────────── 07-01 12:53:54.909 13027-13027/com.example.android.apis D/ApiDemos: ║ apidemos onCreate path == 07-01 12:53:54.909 13027-13027/com.example.android.apis D/ApiDemos: ╚════════════════════════════════════════════════════════════════════════════════════════ 07-01 12:53:54.911 13027-13189/com.example.android.apis W/ResourcesManager: Asset path '/system/framework/gson.jar' does not exist or contains no resources. 07-01 12:53:54.911 13027-13189/com.example.android.apis W/ResourcesManager: Asset path '/system/framework/volley.jar' does not exist or contains no resources. 07-01 12:53:54.941 13027-13027/com.example.android.apis E/JavaBinder: !!! FAILED BINDER TRANSACTION !!! 07-01 12:53:54.941 13027-13027/com.example.android.apis D/AndroidRuntime: Shutting down VM 07-01 12:53:54.942 13027-13027/com.example.android.apis E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.android.apis, PID: 13027 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.android.apis/com.example.android.apis.ApiDemos}: java.lang.RuntimeException: Package manager has died at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2470) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2532) at android.app.ActivityThread.access$900(ActivityThread.java:169) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1421) at android.os.Handler.dispatchMessage(Handler.java:111) at android.os.Looper.loop(Looper.java:194) at android.app.ActivityThread.main(ActivityThread.java:5562) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:968) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:763) Caused by: java.lang.RuntimeException: Package manager has died at android.app.ApplicationPackageManager.queryIntentActivitiesAsUser(ApplicationPackageManager.java:576) at android.app.ApplicationPackageManager.queryIntentActivities(ApplicationPackageManager.java:562) at com.example.android.apis.ApiDemos.getData(ApiDemos.java:72) at com.example.android.apis.ApiDemos.onCreate(ApiDemos.java:51) at android.app.Activity.performCreate(Activity.java:6034) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1111) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2423) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2532) at android.app.ActivityThread.access$900(ActivityThread.java:169) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1421) at android.os.Handler.dispatchMessage(Handler.java:111) at android.os.Looper.loop(Looper.java:194) at android.app.ActivityThread.main(ActivityThread.java:5562) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:968) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:763) Caused by: android.os.TransactionTooLargeException at android.os.BinderProxy.transactNative(Native Method) at android.os.BinderProxy.transact(Binder.java:504) at android.content.pm.IPackageManager$Stub$Proxy.queryIntentActivities(IPackageManager.java:2514) at android.app.ApplicationPackageManager.queryIntentActivitiesAsUser(ApplicationPackageManager.java:570) at android.app.ApplicationPackageManager.queryIntentActivities(ApplicationPackageManager.java:562) at com.example.android.apis.ApiDemos.getData(ApiDemos.java:72) at com.example.android.apis.ApiDemos.onCreate(ApiDemos.java:51) at android.app.Activity.performCreate(Activity.java:6034) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1111) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2423) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2532) at android.app.ActivityThread.access$900(ActivityThread.java:169) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1421) at android.os.Handler.dispatchMessage(Handler.java:111) at android.os.Looper.loop(Looper.java:194) at android.app.ActivityThread.main(ActivityThread.java:5562) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:968) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:763) 07-01 12:53:54.951 13027-13027/com.example.android.apis I/Process: Sending signal. PID: 13027 SIG: 9
Gradle sync failed: Another 'refresh project' task is currently running for the project: D:\GitRespo\ApiDemos
Consult IDE log for more details (Help | Show Log) (31ms)
gradle改成离线模式也构建不成功
觉得非常不错,想加入进来哦
在这个apiDemo中可以做到根据界面找到对应的Activity ?你在学习过程中是如何找到界面对应的Activity的呢?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.