app:attribute与android:attribute的区别是什么

app:attribute与android:attribute的区别是什么

2个回答

app就是**application**的意思,android自然指**android系统**本身;前者表示的是应用程序自定义的属性,可以在**app/res/attrs.xml**定制,后者是系统属性,应用程序无需声明即可使用。
让我们来看下xml为一个系统view增加自定义属性看会出现什么情况?

图片说明
自定义属性的使用,在自定义控件的构造中完成,要知道系统的属性是无需我们在对其进行处理,而_自定义属性要进行代码处理后才能生效_。
图片说明

app:attribute是自定义属性,开发者自己定义的
android:attribute 是系统属性

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
Android引入litepal报错
Error:Gradle: Execution failed for task ':app:processDebugManifest'. > Manifest merger failed : Attribute application@label value=(chuangyi) from AndroidManifest.xml:9:13-37 is also present at [org.litepal.android:core:1.4.1] AndroidManifest.xml:13:9-41 value=(@string/app_name). Suggestion: add 'tools:replace="android:label"' to <application> element at AndroidManifest.xml:5:5-26:19 to override. 怎么回事呢
AAPT: No resource identifier found for attribute 'appComponentFactory' in package 'android'
android\app\build\intermediates\manifests\full\debug\AndroidManifest.xml:69: AAPT: No resource identifier found for attribute 'appComponentFactory' in package 'android 这是一个RN项目,错误信息中的文件夹是项目编译时自动添加的,在项目的AndroidManifest.xml中并没有appComponentFactor ![图片说明](https://img-ask.csdn.net/upload/201906/28/1561685785_77903.png)![图片说明](https://img-ask.csdn.net/upload/201906/28/1561685802_17397.png) 请知道的朋友帮帮忙!
android xml文件中 showAsAction相关
Should use app:showAsAction with the appcompat library with xmlns:app="http://schemas.android.com/apk/res-auto" less... (Ctrl+F1) When using the appcompat library, menu resources should refer to the showAsAction in the app: namespace, not the android: namespace. Similarly, when not using the appcompat library, you should be using the android:showAsAction attribute.
导入RecyclerView-v7的时候gradle build出错
我准备使用RecyclerView,在dependencies导入RecyclerView-v7后gradle build出现以下错误。 Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed : Attribute meta-data#android.support.VERSION@value value=(25.3.1) from [com.android.support:appcompat-v7:25.3.1] AndroidManifest.xml:27:9-31 is also present at [com.android.support:recyclerview-v7:26.0.0-alpha1] AndroidManifest.xml:24:9-38 value=(26.0.0-alpha1). Suggestion: add 'tools:replace="android:value"' to <meta-data> element at AndroidManifest.xml:25:5-27:34 to override. 按照提示在meta-data标签添加tools:replace="android:value"也没有用,会报以下错误。 Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed with multiple errors, see logs
【新手求救】关于Android Studio修改应用id的问题
之前无聊写过一个Android 的app已经签名发布打包成apk,但是源码再电脑上还有。然后最近一个需求写一个app和之前的差不多,我想直接改一下,拿过来用,但是程序的id 想改一下,按照网上的教程如下: ![图片说明](https://img-ask.csdn.net/upload/201908/30/1567133571_526342.png) 但是这样改完之后再run task的时候报错error: attribute 'package' in <manifest> tag is not a valid Android package name: 这个怎么整啊,求个位大佬指教
Android构建报错:Android resource linking failed该怎么办?
导入了网上的一个Android项目,在修改完内容、包名和签名后,编译apk时出现以下错误 Android resource linking failed Output: D:\HDVideo_V1.2\HDVideo\app\build\intermediates\merged_manifests\release\processReleaseManifest\merged\AndroidManifest.xml:2: error: attribute 'package' in <manifest> tag is not a valid Android package name: 'com.52jiuge.video'. Command: C:\Users\Administrator\.gradle\caches\transforms-1\files-1.1\aapt2-3.2.1-4818971-windows.jar\c343171b752e801429885959b81315e7\aapt2-3.2.1-4818971-windows\aapt2.exe link -I\ C:\Users\Administrator\AppData\Local\Android\Sdk\platforms\android-27\android.jar\ --manifest\ D:\HDVideo_V1.2\HDVideo\app\build\intermediates\merged_manifests\release\processReleaseManifest\merged\AndroidManifest.xml\ -o\ D:\HDVideo_V1.2\HDVideo\app\build\intermediates\processed_res\release\processReleaseResources\out\resources-release.ap_\ -R\ @D:\HDVideo_V1.2\HDVideo\app\build\intermediates\incremental\processReleaseResources\resources-list-for-resources-release.ap_.txt\ --auto-add-overlay\ --java\ D:\HDVideo_V1.2\HDVideo\app\build\generated\not_namespaced_r_class_sources\release\processReleaseResources\r\ --custom-package\ com.viaviapp.hdvideoapp\ -0\ apk\ --output-text-symbols\ D:\HDVideo_V1.2\HDVideo\app\build\intermediates\symbols\release\R.txt\ --no-version-vectors Daemon: AAPT2 aapt2-3.2.1-4818971-windows Daemon #0 ![图片说明](https://img-ask.csdn.net/upload/201902/09/1549673891_739793.png)
android开发,eclipse中的AndroidManifest.xml
在AndroidManifest.xml中我写了 <instrumentation android:name="android.test.InstrumentationTestRunner" android:targetpackage="com.sqlite.activity" android:label="Test My App" /> 提示错误 error: No resource identifier found for attribute 'targetpackage' in package 'android'
安卓插件开发报错 You must supply a layout_height attribute.
将一个编译好的apk放到sd卡中作为插件,然后让另外一个APK动态去加载,但是当在三星手机上运行时会报如下错误,可以确定插件apk的layout每个layout_height 属性都设置了,而且滴31行的XML不是layout_height属性: 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): java.lang.reflect.InvocationTargetException 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): at java.lang.reflect.Method.invokeNative(Native Method) 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): at java.lang.reflect.Method.invoke(Method.java:511) 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): at com.box.android.library.activity.ProxyActivity.launchTargetActivity(ProxyActivity.java:146) 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): at com.box.android.library.activity.ProxyActivity.launchTargetActivity(ProxyActivity.java:102) 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): at com.box.android.library.activity.ProxyActivity.onCreate(ProxyActivity.java:87) 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): at com.box.android.smarthome.activity.plugin.PluginDialogActivity.onCreate(PluginDialogActivity.java:33) 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): at android.app.Activity.performCreate(Activity.java:5206) 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094) 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2074) 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2135) 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): at android.app.ActivityThread.access$700(ActivityThread.java:140) 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1237) 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): at android.os.Handler.dispatchMessage(Handler.java:99) 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): at android.os.Looper.loop(Looper.java:137) 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): at android.app.ActivityThread.main(ActivityThread.java:4946) 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): at java.lang.reflect.Method.invokeNative(Native Method) 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): at java.lang.reflect.Method.invoke(Method.java:511) 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1036) 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:803) 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): at dalvik.system.NativeStart.main(Native Method) 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): Caused by: java.lang.RuntimeException: Binary XML file line #31: You must supply a layout_height attribute. 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): at android.content.res.TypedArray.getLayoutDimension(TypedArray.java:491) 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): at android.view.ViewGroup$LayoutParams.setBaseAttributes(ViewGroup.java:5702) 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): at android.view.ViewGroup$MarginLayoutParams.<init>(ViewGroup.java:5837) 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): at android.widget.LinearLayout$LayoutParams.<init>(LinearLayout.java:1815) 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): at android.widget.LinearLayout.generateLayoutParams(LinearLayout.java:1727) 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): at android.widget.LinearLayout.generateLayoutParams(LinearLayout.java:58) 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): at android.view.LayoutInflater.rInflate(LayoutInflater.java:748) 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): at android.view.LayoutInflater.inflate(LayoutInflater.java:489) 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): at android.view.LayoutInflater.inflate(LayoutInflater.java:396) 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): at android.view.LayoutInflater.inflate(LayoutInflater.java:352) 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): at com.android.internal.policy.impl.PhoneWindow.generateLayout(PhoneWindow.java) 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): at com.android.internal.policy.impl.PhoneWindow.installDecor(PhoneWindow.java) 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java) 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): at android.app.Activity.setContentView(Activity.java:1924) 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): at com.box.android.library.plugin.activity.BasePluginActivity.setContentView(BasePluginActivity.java:217) 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): at com.android.mio.wd.MiotWenShiActivity.onCreate(MiotWenShiActivity.java:84) 08-08 10:39:41.683: E/ProxyActivity.launchTargetActivity(L:150)(26565): ... 20 more
Error:warning: Ignoring InnerClasses
Information:Gradle tasks [:app:clean, :app:generateDebugSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies, :app:generateDebugAndroidTestSources, :app:assembleDebug] Error:warning: Ignoring InnerClasses attribute for an anonymous inner class Error:(com.tencent.mm.opensdk.diffdev.a.b) that doesn't come with an Error:associated EnclosingMethod attribute. This class was probably produced by a Error:compiler that did not target the modern .class file format. The recommended Error:solution is to recompile the class from source, using an up-to-date compiler Error:and without specifying any "-target" type options. The consequence of ignoring Error:this warning is that reflective operations on this class will incorrectly Error:indicate that it is *not* an inner class. Error:warning: Ignoring InnerClasses attribute for an anonymous inner class Error:(com.tencent.mm.opensdk.diffdev.a.c) that doesn't come with an Error:associated EnclosingMethod attribute. This class was probably produced by a Error:compiler that did not target the modern .class file format. The recommended Error:solution is to recompile the class from source, using an up-to-date compiler Error:and without specifying any "-target" type options. The consequence of ignoring Error:this warning is that reflective operations on this class will incorrectly Error:indicate that it is *not* an inner class. Error:warning: Ignoring InnerClasses attribute for an anonymous inner class Error:(com.tencent.mm.opensdk.openapi.WXApiImplV10$1) that doesn't come with an Error:associated EnclosingMethod attribute. This class was probably produced by a Error:compiler that did not target the modern .class file format. The recommended Error:solution is to recompile the class from source, using an up-to-date compiler Error:and without specifying any "-target" type options. The consequence of ignoring Error:this warning is that reflective operations on this class will incorrectly Error:indicate that it is *not* an inner class. Error:warning: Ignoring InnerClasses attribute for an anonymous inner class Error:(com.tencent.mm.opensdk.openapi.WXApiImplV10$ActivityLifecycleCb$1) that doesn't come with an Error:associated EnclosingMethod attribute. This class was probably produced by a Error:compiler that did not target the modern .class file format. The recommended Error:solution is to recompile the class from source, using an up-to-date compiler Error:and without specifying any "-target" type options. The consequence of ignoring Error:this warning is that reflective operations on this class will incorrectly Error:indicate that it is *not* an inner class. Error:warning: Ignoring InnerClasses attribute for an anonymous inner class Error:(com.tencent.mm.opensdk.openapi.WXApiImplV10$ActivityLifecycleCb$2) that doesn't come with an Error:associated EnclosingMethod attribute. This class was probably produced by a Error:compiler that did not target the modern .class file format. The recommended Error:solution is to recompile the class from source, using an up-to-date compiler Error:and without specifying any "-target" type options. The consequence of ignoring Error:this warning is that reflective operations on this class will incorrectly Error:indicate that it is *not* an inner class. Information:BUILD SUCCESSFUL Information:Total time: 36.571 secs Information:40 errors Information:0 warnings Information:See complete output in console 大神们看下这个怎么解决, multiDexEnabled true,这个我已经加上了,application也加上了,上面的错误有一个com.tencent.mm.opensdk.diffdev.a.b提示,我是之前做微信第三方登陆加了他们的库,不知道是不是这个原因
修改xml文件后,app就闪退了
我修改了layou下的xml文件,然后app就闪退了。 代码添加了“”android:id="@+id/order_sales_percentage_layout"“” <RelativeLayout android:id="@+id/order_sales_percentage_layout" style="@style/activity_content_table_relativelayout_attrs" android:layout_height="wrap_content" > <TextView android:id="@+id/order_sales_percentage_textv" style="@style/activity_content_table_row_title_attrs" android:text="@string/order_sales_percentage" /> </RelativeLayout> log: D/NativeCrypto(9949): ssl=0xee46e000 info_callback ignored D/NativeCrypto(9949): doing handshake -- ret=1 D/NativeCrypto(9949): ssl=0xee46e000 NativeCrypto_SSL_get_certificate => NULL I/System.out(9949): gba_cipher_suite:TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 I/System.out(9949): >doSendRequest D/NativeCrypto(9949): ssl=0xee46e000 sslWrite buf=0xee5d3000 len=389 write_timeout_millis=0 D/NativeCrypto(9949): ssl=0xee46e000 sslWrite buf=0xee486200 len=380 write_timeout_millis=0 I/System.out(9949): <doSendRequest D/NativeCrypto(9949): ssl=0xee46e000 sslRead buf=0xee5d3000 len=8192,timeo=10000 D/UsbDeviceManager(918): onReceive - BATTERY_CHANGED - mPlugType: 2, mSettingUsbCharging: false, mConnected: true, mSettingUsbBicr: false D/WifiService(918): onReceive, action:android.intent.action.BATTERY_CHANGED D/PSD(377): Prox is far ps 206 als 229 highlight 0 crosstalk 205 D/OpenGLRenderer(9949): Flushing caches (mode 0) D/Surface(9949): Surface::disconnect(this=0xf49cc400,api=1) D/OpenGLRenderer(9949): Flushing caches (mode 0) V/WindowManager(918): Changing focus from Window{1b3780a2 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.LoginActivity EXITING} to Window{3eae745 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.LoginActivity} Callers=com.android.server.wm.WindowManagerService.removeWindowLocked:3238 com.android.server.wm.WindowManagerService.removeWindow:3174 com.android.server.wm.Session.remove:193 android.view.IWindowSession$Stub.onTransact:233 I/WindowManager(918): Gaining focus: Window{3eae745 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.LoginActivity} I/WindowManager(918): Losing focus: Window{1b3780a2 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.LoginActivity EXITING} I/ActivityManager(918): START u0 {cmp=cn.com.xxxx.business/com.xxx.xxx.Business.CompanySelectActivity (has extras)} from uid 10126 from pid 9949 on display 0 I/SafeCenter.AppProtectService(27567): activityStarting() intent: Intent { cmp=cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity (has extras) } V/WindowManager(918): addAppToken: AppWindowToken{3d016c25 token=Token{290a481c ActivityRecord{1f3cd8f u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity t130}}} to stack=1 task=130 at 1 I/libPerfService(918): 1: set freq: 1001000, 1508000 I/libPerfService(918): 1: set: 4, 4 I/libPerfService(918): 1: set vcore level: 3 0V/InputMethodManager(9949): onWindowFocus: android.widget.EditText{1a4a3e58 VFED..C. .F...... 70,380-650,462 #7f0a0330 app:id/login_password_edit_text} softInputMode=32 first=false flags=#1810100 V/InputMethodManagerService(918): windowGainedFocus: android.os.BinderProxy@46afcb7 controlFlags=#3 softInputMode=#20 windowFlags=#1810100 W/InputMethodManagerService(918): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@322c81fa attribute=null, token = android.os.BinderProxy@314e3bbc I/PPS(918): [PPSNotifyAppState] nPackNum:1, pack:cn.com.antika.business, com:com.GlamourPromise.Beauty.Business.CompanySelectActivity, state:1, pid:0, last_boost_tid:-1 D/ActivityManager(918): Delay resumeKeyDispatchingLocked() to avoid deadlock. I/PPS(918): [PPSNotifyAppState] nPackNum:1, pack:cn.com.antika.business, com:com.GlamourPromise.Beauty.Business.LoginActivity, state:0, pid:0, last_boost_tid:-1 D/AbsListView(9949): checkAbsListViewlLogProperty get invalid command V/PhoneWindow(9949): DecorView setVisiblity: visibility = 4 ,Parent =null, this =com.android.internal.policy.impl.PhoneWindow$DecorView{2b63a461 I.E..... R.....ID 0,0-0,0} D/ViewRootImpl(9949): hardware acceleration is enabled, this = ViewRoot{19e37adf cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity,ident = 4} V/WindowManager(918): Adding window Window{2281ca08 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity} at 7 of 14 (after Window{1b3780a2 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.LoginActivity EXITING}) V/PhoneWindow(9949): DecorView setVisiblity: visibility = 0 ,Parent =ViewRoot{19e37adf cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity,ident = 4}, this =com.android.internal.policy.impl.PhoneWindow$DecorView{2b63a461 V.E..... R.....ID 0,0-0,0} V/WindowManager(918): Changing focus from Window{3eae745 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.LoginActivity} to Window{2281ca08 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity} Callers=com.android.server.wm.WindowManagerService.relayoutWindow:3993 com.android.server.wm.Session.relayout:203 android.view.IWindowSession$Stub.onTransact:273 com.android.server.wm.Session.onTransact:136 I/WindowManager(918): Gaining focus: Window{2281ca08 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity} D/OpenGLRenderer(9949): CanvasContext() 0xf48971c0 initialize 0xf49ca108 D/Surface(9949): Surface::connect(this=0xf49ca100,api=1) D/mali_winsys(9949): new_window_surface returns 0x3000 D/Surface(9949): Surface::allocateBuffers(this=0xf49ca100) D/AbsListView(9949): onSizeChanged w=700, h=1049, oldw=0, oldh=0, getChildCount=0, mSyncPosition=0, mNeedSync=false, mSyncMode=0, mAdapterandroid.widget.ExpandableListConnector@3cc5732c, this=android.widget.ExpandableListView{3dcd67d1 VFED.VC. ......I. 10,195-710,1244 #7f0a018f app:id/company_list}, callstack=android.widget.ListView.onSizeChanged:1156 android.view.View.sizeChange:16199 android.view.View.setFrame:16164 android.widget.AbsListView.setFrame:2308 android.view.View.layout:16055 android.view.ViewGroup.layout:5234 android.widget.LinearLayout.setChildFrame:1959 android.widget.LinearLayout.layoutVertical:1813 android.widget.LinearLayout.onLayout:1722 android.view.View.layout:16065 D/AndroidRuntime(9949): Shutting down VM I/Process(9949): Sending signal. PID: 9949 SIG: 9 D/PSD(377): set_ps_threshold: low_threshold 268 high_threshold 288 ps_average 208 algo_state 1 E/LIGHT(918): AmbiLightSensor: get als value 235 E/LIGHT(918): AmbiLightSensor: report als event E/PROXIMITY(918): ProximitySensor: unknown event (type=3, code=0) E/PROXIMITY(918): ProximitySensor: invalid EV_SYN D/SurfaceFlinger(328): Skip composition. D/SurfaceFlinger(328): Skip composition. E/JavaBinder(918): !!! FAILED BINDER TRANSACTION !!! E/JavaBinder(918): !!! FAILED BINDER TRANSACTION !!! D/GuiExt(384): [GuiExtS] binder of dump tunnel(RB-0xdd4f3380) died I/WindowState(918): WIN DEATH: Window{3eae745 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.LoginActivity} I/SurfaceFlinger(328): EventThread Client Pid (9949) disconnected by (328) I/SurfaceFlinger(328): EventThread Client Pid (9949) disconnected by (328) W/ADB_SERVICES(9929): terminating JDWP 9949 connection: Try again I/WindowState(918): WIN DEATH: Window{2281ca08 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity} W/ADB_SERVICES(9929): terminating JDWP 9949 connection: Try again I/WindowState(918): WIN DEATH: Window{2281ca08 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity} 继续贴日志 V/WindowManager(918): Changing focus from Window{2281ca08 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity EXITING} to null Callers=com.android.server.wm.WindowManagerService.removeWindowLocked:3238 com.android.server.wm.WindowState$DeathRecipient.binderDied:1168 android.os.BinderProxy.sendDeathNotice:559 <bottom of call stack> I/WindowManager(918): Losing focus: Window{2281ca08 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity EXITING} D/PerfServiceManager(918): [PerfService] MESSAGE_TIMEOUT:107 I/libPerfService(918): [perfScnDisable] scn:1, scn_root_cluster:-1 I/libPerfService(918): [perfScnDisable] scn:6, scn_root_cluster:-1 I/libPerfService(918): 7: set vcore level: 3 D/PerfServiceManager(918): [PerfService] set utilization:0.8 D/SurfaceFlinger(328): Skip composition. I/ActivityManager(918): Process cn.com.antika.business (pid 9949) has died Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1517 com.android.server.am.OppoExtraActivityManagerService.setKeyLockModeNormal:47 com.android.server.am.ActivityManagerService.appDiedLocked:6305 com.android.server.am.ActivityManagerService$AppDeathRecipient.binderDied:1441 android.os.BinderProxy.sendDeathNotice:559 D/ActivityManager(918): SVC-handleAppDiedLocked: app = ProcessRecord{701a5a1 9949:cn.com.antika.business/u0a126}, app.pid = 9949 I/PPS(918): [PPSNotifyAppState] nPackNum:1, pack:cn.com.antika.business, com:(null), state:3, pid:0, last_boost_tid:-1 D/ForegroundUtils(2208): Process died; UID 10126 PID 9949 W/ActivityManager(918): Force removing ActivityRecord{1f3cd8f u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity t130}: app died, no saved state D/ForegroundUtils(2208): Foreground changed, PID: 9949 UID: 10126 foreground: false V/NetworkStats(918): setKernelCounterSet uid=10126 set=0 D/ForegroundUtils(2208): Foreground UID/PID combinations: D/ConnectivityService(918): onUidRulesChanged(uid=10126, uidRules=0) D/ActivityManager(918): [BMW] moveNextFloatingStackToTopLocked next = null curTop = ActivityStack{34190215 stackId=1, 14 tasks} D/WindowManager(918): notifyActivityDrawnForKeyguard: waiting=false Callers=com.android.server.wm.WindowManagerService.handleAppTransitionReadyLocked:10689 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedInner:11319 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedLoop:10058 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLocked:10000 com.android.server.wm.WindowManagerService.moveStackWindowsLocked:6068 W/ContextImpl(918): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1517 com.android.server.am.OppoProtectEyeManagerService.sendProtectEyeBroadcast:170 com.android.server.am.OppoProtectEyeManagerService.handleProtectEyeMode:154 com.android.server.am.ActivityStack.resumeTopActivityInnerLocked:2234 com.android.server.am.ActivityStack.resumeTopActivityLocked:1790 I/libPerfService(918): perfSetFavorPid - pid:2360, 938 I/PPS(918): [PPSNotifyAppState] nPackNum:1, pack:com.oppo.launcher, com:.Launcher, state:1, pid:0, last_boost_tid:-1 I/OppoPhoneWindowManager(918): KeyLockModeReceiver KeyLockMode: 0 ProcessName: cn.com.antika.business D/ForegroundUtils(2208): Foreground changed, PID: 2360 UID: 10063 foreground: true V/NetworkStats(918): setKernelCounterSet uid=10063 set=1 D/ForegroundUtils(2208): Foreground UID/PID combinations: D/ConnectivityService(918): onUidRulesChanged(uid=10063, uidRules=0) D/ForegroundUtils(2208): UID: 10063 PID: 2360 D/OpenGLRenderer(2360): Flushing caches (mode 0) D/OpenGLRenderer(2360): Flushing caches (mode 0) D/SurfaceFlinger(328): Skip composition. I/SurfaceFlinger(328): [SF client] DEL(0x7fa3c1d6c0) for (918:system_server) D/SurfaceFlinger(328): remove: cn.com.antika.business/com.GlamourPromise.Beauty.Business.LoginActivity D/SurfaceFlinger(328): remove: cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity V/PhoneWindow(2360): DecorView setVisiblity: visibility = 0 ,Parent =ViewRoot{213cf907 com.oppo.launcher/com.oppo.launcher.Launcher,ident = 0}, this =com.android.internal.policy.impl.PhoneWindow$DecorView{50d63f8 V.E..... R.....ID 0,0-720,1280} V/WindowManager(918): Changing focus from null to Window{3d235d75 u0 com.oppo.launcher/com.oppo.launcher.Launcher} Callers=com.android.server.wm.WindowManagerService.relayoutWindow:3993 com.android.server.wm.Session.relayout:203 android.view.IWindowSession$Stub.onTransact:273 com.android.server.wm.Session.onTransact:136 I/WindowManager(918): Gaining focus: Window{3d235d75 u0 com.oppo.launcher/com.oppo.launcher.Launcher} D/OpenGLRenderer(2360): CanvasContext() 0x7f8eb387c0 initialize 0x7f8ea72610 D/Surface(2360): Surface::connect(this=0x7f8ea72600,api=1) D/mali_winsys(2360): new_window_surface returns 0x3000 D/Surface(2360): Surface::allocateBuffers(this=0x7f8ea72600) V/InputMethodManager(2360): onWindowFocus: null softInputMode=304 first=true flags=#5900100 V/InputMethodManager(2360): START INPUT: com.android.internal.policy.impl.PhoneWindow$DecorView{50d63f8 V.E..... R.....ID 0,0-720,1280} ic=null tba=android.view.inputmethod.EditorInfo@1ed6e15d controlFlags=#104 V/InputMethodManagerService(918): windowGainedFocus: android.os.BinderProxy@a099631 controlFlags=#104 softInputMode=#130 windowFlags=#5900100 D/InputMethodManagerService(918): unbindCurrentClient send MSG_SET_ACTIVE active: false , to client:ClientState{3d9a3942 uid 10126 pid 9949} D/InputMethodManagerService(918): case MSG_SET_ACTIVE, active:false W/InputMethodManagerService(918): Got RemoteException sending setActive(false) notification to pid 9949 uid 10126 D/InputMethodManagerService(918): startInputUnchecked send MSG_SET_ACTIVE active:true, to client:null D/InputMethodManagerService(918): case MSG_SET_ACTIVE, active:true D/InputMethodManager(2360): receive service's setActive call, active:true I/InputMethodManager(2360): handleMessage: MSG_SET_ACTIVE true, was false D/SurfaceFlinger(328): Skip composition. V/WallpaperService(27833): Visibility change in com.android.systemui.ImageWallpaper$DrawableEngine@20ab8bb1: 1 I/OppoBroadcastManager(918): oppo Broadcast intent Intent { act=com.nav.color flg=0x10 (has extras) } on background queue V/WallpaperService(27833): onVisibilityChanged(true): com.android.systemui.ImageWallpaper$DrawableEngine@20ab8bb1 V/WallpaperService(27833): Offsets change in com.android.systemui.ImageWallpaper$DrawableEngine@20ab8bb1: 0.0,0.0 D/WindowManager(918): notifyActivityDrawnForKeyguard: waiting=false Callers=com.android.server.wm.WindowManagerService.handleAppTransitionReadyLocked:10689 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedInner:11319 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedLoop:10058 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLocked:10000 com.android.server.wm.WindowManagerService.access$900:216 D/BluetoothAdapter(27833): 870302359: getState() : mService = null. Returning STATE_OFF D/BluetoothAdapter(27833): 870302359: getState() : mService = null. Returning STATE_OFF I/WifiStateMachine(918): fetchRssiLinkSpeedAndFrequencyNative, newRssi:-32, newLinkSpeed:65, SSID:"TP-LINK_CWMD" D/NetworkLinkMonitor(918): RSSI_PKTCNT_FETCH_SUCCEEDED--dtotal= 13
使用android studio 运行这个编译app的时候出现这个问题 求大神 支招
``` AGPBI: {"kind":"error","text":"warning: Ignoring InnerClasses attribute for an anonymous inner class","sources":[{}]} AGPBI: {"kind":"error","text":"(com.UCMobile.PayPlugin.a) that doesn\u0027t come with an","sources":[{}]} AGPBI: {"kind":"error","text":"associated EnclosingMethod attribute. This class was probably produced by a","sources":[{}]} AGPBI: {"kind":"error","text":"compiler that did not target the modern .class file format. The recommended","sources":[{}]} AGPBI: {"kind":"error","text":"solution is to recompile the class from source, using an up-to-date compiler","sources":[{}]} AGPBI: {"kind":"error","text":"and without specifying any \"-target\" type options. The consequence of ignoring","sources":[{}]} AGPBI: {"kind":"error","text":"this warning is that reflective operations on this class will incorrectly","sources":[{}]} AGPBI: {"kind":"error","text":"indicate that it is *not* an inner class.","sources":[{}]} AGPBI: {"kind":"error","text":"warning: Ignoring InnerClasses attribute for an anonymous inner class","sources":[{}]} AGPBI: {"kind":"error","text":"(com.unionpay.mobile.android.nocard.utils.e) that doesn\u0027t come with an","sources":[{}]} AGPBI: {"kind":"error","text":"associated EnclosingMethod attribute. This class was probably produced by a","sources":[{}]} AGPBI: {"kind":"error","text":"compiler that did not target the modern .class file format. The recommended","sources":[{}]} AGPBI: {"kind":"error","text":"solution is to recompile the class from source, using an up-to-date compiler","sources":[{}]} AGPBI: {"kind":"error","text":"and without specifying any \"-target\" type options. The consequence of ignoring","sources":[{}]} AGPBI: {"kind":"error","text":"this warning is that reflective operations on this class will incorrectly","sources":[{}]} AGPBI: {"kind":"error","text":"indicate that it is *not* an inner class.","sources":[{}]} AGPBI: {"kind":"error","text":"warning: Ignoring InnerClasses attribute for an anonymous inner class","sources":[{}]} ```
Android小白,请各位大佬帮忙看看什么问题,一个关于摄氏华氏转换的小小小程序
做一个摄氏华氏转换的时候,在模拟器上运行有这样的问题 java程序 public class MainActivity extends ActionBarActivity { protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); } public void button1_click(View view){ int c; double f; EditText txtc=(EditText) findViewById(R.id.txtc); EditText txtf=(EditText) findViewById(R.id.txtf); c=Integer.parseInt(txtc.getText().toString()); f=(9.0*c)/5.0+32.0; txtf.setText(String.valueOf(f)); } } xml <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingBottom="@dimen/activity_vertical_margin" android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin" android:paddingTop="@dimen/activity_vertical_margin" tools:context="com.example.ftoc.MainActivity" > <TableRow > <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/c" /> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/equals"/> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/f" /> </TableRow> <TableRow > <EditText android:id="@+id/txtc" android:layout_width="100dp" android:layout_height="wrap_content" android:inputType="number"/> <Button android:id="@+id/button1" android:text="@string/shift" android:layout_width="wrap_content" android:layout_height="wrap_content" android:onClick="button1_Click"/> <EditText android:id="@+id/txtf" android:layout_width="100dp" android:layout_height="wrap_content" android:inputType="numberDecimal"/> </TableRow> </RelativeLayout> log猫 10-04 03:31:06.777: E/AndroidRuntime(913): at android.support.v7.app.ActionBarActivityDelegateBase.setContentView(ActionBarActivityDelegateBase.java:228) 10-04 03:31:06.777: E/AndroidRuntime(913): at android.support.v7.app.ActionBarActivity.setContentView(ActionBarActivity.java:102) 10-04 03:31:06.777: E/AndroidRuntime(913): at com.example.ftoc.MainActivity.onCreate(MainActivity.java:16) 10-04 03:31:06.777: E/AndroidRuntime(913): at android.app.Activity.performCreate(Activity.java:5933) 10-04 03:31:06.777: E/AndroidRuntime(913): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105) 10-04 03:31:06.777: E/AndroidRuntime(913): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2251) 10-04 03:31:06.777: E/AndroidRuntime(913): ... 10 more 10-04 03:31:10.772: I/Process(913): Sending signal. PID: 913 SIG: 9 10-04 04:06:59.931: D/AndroidRuntime(1228): Shutting down VM 10-04 04:06:59.936: E/AndroidRuntime(1228): FATAL EXCEPTION: main 10-04 04:06:59.936: E/AndroidRuntime(1228): Process: com.example.ftoc, PID: 1228 10-04 04:06:59.936: E/AndroidRuntime(1228): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.ftoc/com.example.ftoc.MainActivity}: java.lang.RuntimeException: Binary XML file line #10: You must supply a layout_width attribute. 10-04 04:06:59.936: E/AndroidRuntime(1228): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2298) 10-04 04:06:59.936: E/AndroidRuntime(1228): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360) 10-04 04:06:59.936: E/AndroidRuntime(1228): at android.app.ActivityThread.access$800(ActivityThread.java:144) 10-04 04:06:59.936: E/AndroidRuntime(1228): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278) 10-04 04:06:59.936: E/AndroidRuntime(1228): at android.os.Handler.dispatchMessage(Handler.java:102) 10-04 04:06:59.936: E/AndroidRuntime(1228): at android.os.Looper.loop(Looper.java:135) 10-04 04:06:59.936: E/AndroidRuntime(1228): at android.app.ActivityThread.main(ActivityThread.java:5221) 10-04 04:06:59.936: E/AndroidRuntime(1228): at java.lang.reflect.Method.invoke(Native Method) 10-04 04:06:59.936: E/AndroidRuntime(1228): at java.lang.reflect.Method.invoke(Method.java:372) 10-04 04:06:59.936: E/AndroidRuntime(1228): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899) 10-04 04:06:59.936: E/AndroidRuntime(1228): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694) 。。。。。。。。
Android studio 我导入第三方类库总是出现这个问题
D:\as_workspase\TestWifiDemo\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\22.2.1\res\values\values.xml Error:(2) Attribute "titleTextStyle" has already been definedError:(2) Attribute "subtitleTextStyle" has already been defined Error:(2) Attribute "divider" has already been defined 后面还又很多同样的错误,这是为什么?改怎么解决
请问有大神能帮我看看为什么闪退吗
04-17 22:57:47.229 1542-1597/system_process E/WifiStateMachine: WifiStateMachine CMD_START_SCAN source -2 txSuccessRate=-0.00 rxSuccessRate=-0.00 targetRoamBSSID=00:81:ec:72:db:e9 RSSI=-45 04-17 22:58:02.995 2185-2185/? E/memtrack: Couldn't load memtrack module (No such file or directory) 04-17 22:58:02.995 2185-2185/? E/android.os.Debug: failed to load memtrack module: -2 04-17 22:58:03.486 2212-2212/? E/libnativebridge: denglibol LoadNativeBridge error! nb_library_filename invalid! 04-17 22:58:07.177 2243-2243/? E/memtrack: Couldn't load memtrack module (No such file or directory) 04-17 22:58:07.177 2243-2243/? E/android.os.Debug: failed to load memtrack module: -2 04-17 22:58:07.231 1542-1597/system_process E/WifiStateMachine: WifiStateMachine CMD_START_SCAN source -2 txSuccessRate=-0.00 rxSuccessRate=-0.00 targetRoamBSSID=00:81:ec:72:db:e9 RSSI=-45 04-17 22:58:07.334 1542-1597/system_process E/WifiStateMachine: denglibo mScanResults.size=1 04-17 22:58:07.420 2255-2255/com.example.hasee.myapplication E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.hasee.myapplication, PID: 2255 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.hasee.myapplication/com.example.hasee.myapplication.MainActivity}: java.lang.RuntimeException: Your content must have a ListView whose id attribute is 'android.R.id.list' at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2325) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387) at android.app.ActivityThread.access$800(ActivityThread.java:151) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5254) 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:905) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700) Caused by: java.lang.RuntimeException: Your content must have a ListView whose id attribute is 'android.R.id.list' at android.app.ListActivity.onContentChanged(ListActivity.java:243) at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:382) at android.app.Activity.setContentView(Activity.java:2145) at com.example.hasee.myapplication.MainActivity.onCreate(MainActivity.java:34) at android.app.Activity.performCreate(Activity.java:5990) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)  at android.app.ActivityThread.access$800(ActivityThread.java:151)  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)  at android.os.Handler.dispatchMessage(Handler.java:102)  at android.os.Looper.loop(Looper.java:135)  at android.app.ActivityThread.main(ActivityThread.java:5254)  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:905)  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)  04-17 22:58:07.587 1366-1366/? E/EGL_adreno: tid 1366: eglCreateSyncKHR(1987): error 0x3004 (EGL_BAD_ATTRIBUTE) 04-17 22:58:09.087 1542-2272/system_process E/EGL_adreno: tid 2272: eglSurfaceAttrib(1266): error 0x3009 (EGL_BAD_MATCH) 04-17 22:58:09.653 1916-2071/com.android.launcher3 E/EGL_adreno: tid 2071: eglSurfaceAttrib(1266): error 0x3009 (EGL_BAD_MATCH)
小白求问为什么应用一进去就闪退了
04-17 22:29:38.316 2512-2512/? I/appproc: denglibo exec app_process! cmdline: /system/bin com.android.commands.pm.Pm install -t -r /data/local/tmp/com.example.hasee.myapplication 04-17 22:29:38.316 2512-2512/? D/AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<< 04-17 22:29:38.317 2512-2512/? D/AndroidRuntime: CheckJNI is OFF 04-17 22:29:38.332 2512-2512/? D/libnativebridge: PreInitializeNativeBridge name=unknown 04-17 22:29:38.359 2512-2512/? E/memtrack: Couldn't load memtrack module (No such file or directory) 04-17 22:29:38.359 2512-2512/? E/android.os.Debug: failed to load memtrack module: -2 04-17 22:29:38.376 2512-2512/? D/AndroidRuntime: Calling main entry com.android.commands.pm.Pm --------- beginning of system 04-17 22:29:38.382 2159-2174/com.android.defcontainer I/NativeHelper: denglibo call findSupportedAbi! abiList=x86 armeabi-v7a armeabi packageName=com.example.hasee.myapplication 04-17 22:29:38.384 2159-2174/com.android.defcontainer D/NativeLibraryHelper: denglibo call LdFindSupportedAbi, param: supportedAbisArray=x86 armeabi-v7a armeabi 04-17 22:29:38.385 2159-2174/com.android.defcontainer D/NativeLibraryHelper: denglibo native LdFindSupportedAbi return! ret=-114 abi=NULL 04-17 22:29:38.388 2159-2173/com.android.defcontainer D/DefContainer: Copying /data/local/tmp/com.example.hasee.myapplication to base.apk 04-17 22:29:38.393 1541-1570/system_process I/NativeHelper: denglibo call findSupportedAbi! abiList=x86 armeabi-v7a armeabi packageName=com.example.hasee.myapplication 04-17 22:29:38.395 1541-1570/system_process D/NativeLibraryHelper: denglibo call LdFindSupportedAbi, param: supportedAbisArray=x86 armeabi-v7a armeabi 04-17 22:29:38.396 1541-1570/system_process D/NativeLibraryHelper: denglibo native LdFindSupportedAbi return! ret=-114 abi=NULL 04-17 22:29:38.409 1541-1570/system_process D/PackageManager: Renaming /data/app/vmdl270166158.tmp to /data/app/com.example.hasee.myapplication-2 04-17 22:29:38.410 1541-1561/system_process I/ActivityManager: Force stopping com.example.hasee.myapplication appid=10031 user=-1: uninstall pkg 04-17 22:29:38.417 1541-1570/system_process I/PackageManager: denglibo-scanPackageDirtyLI oldSeting(packages.xml): com.example.hasee.myapplication orig primaryCpuAbi: null secondaryCpuAbi: null cpuAbiOverride: null myOrigCpuAbi: null 04-17 22:29:38.417 1541-1570/system_process I/PackageManager: Package com.example.hasee.myapplication codePath changed from /data/app/com.example.hasee.myapplication-1 to /data/app/com.example.hasee.myapplication-2; Retaining data and using new 04-17 22:29:38.424 1541-1570/system_process I/NativeHelper: denglibo call findSupportedAbi! abiList=x86 armeabi-v7a armeabi packageName=com.example.hasee.myapplication 04-17 22:29:38.427 1541-1570/system_process D/NativeLibraryHelper: denglibo call LdFindSupportedAbi, param: supportedAbisArray=x86 armeabi-v7a armeabi 04-17 22:29:38.427 1541-1570/system_process D/NativeLibraryHelper: denglibo native LdFindSupportedAbi return! ret=-114 abi=NULL 04-17 22:29:38.428 1541-1570/system_process I/PackageManager: denglibo-copyNativeBinariesForSupportedAbi finish: copyRet = -114 04-17 22:29:38.428 1541-1570/system_process I/PackageManager: Running dexopt on: /data/app/com.example.hasee.myapplication-2/base.apk pkg=com.example.hasee.myapplication isa=x86 vmSafeMode=false 04-17 22:29:38.437 2523-2523/? I/dex2oat: /system/bin/dex2oat --zip-fd=5 --zip-location=/data/app/com.example.hasee.myapplication-2/base.apk --oat-fd=6 --oat-location=/data/dalvik-cache/x86/data@app@com.example.hasee.myapplication-2@base.apk@classes.dex --instruction-set=x86 --instruction-set-features=default --runtime-arg -Xms64m --runtime-arg -Xmx512m --swap-fd=7 04-17 22:29:38.439 2523-2523/? E/libnativebridge: denglibol LoadNativeBridge error! nb_library_filename invalid! 04-17 22:29:38.517 2523-2523/? I/dex2oat: Decided to run without swap. 04-17 22:29:38.539 2523-2523/? W/dex2oat: Before Android 4.1, method int android.support.v7.widget.DropDownListView.lookForSelectablePosition(int, boolean) would have incorrectly overridden the package-private method in android.widget.ListView 04-17 22:29:38.558 2523-2525/? W/dex2oat: Before Android 4.1, method int android.support.v7.widget.MenuPopupWindow$MenuDropDownListView.lookForSelectablePosition(int, boolean) would have incorrectly overridden the package-private method in android.widget.ListView 04-17 22:29:38.560 2523-2525/? W/dex2oat: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable 04-17 22:29:39.453 2523-2523/? I/dex2oat: dex2oat took 1.015s (threads: 2) arena alloc=306KB java alloc=3MB native alloc=6MB free=9MB 04-17 22:29:39.454 1541-1570/system_process W/PackageManager: Code path for pkg : com.example.hasee.myapplication changing from /data/app/com.example.hasee.myapplication-1 to /data/app/com.example.hasee.myapplication-2 04-17 22:29:39.454 1541-1570/system_process W/PackageManager: Resource path for pkg : com.example.hasee.myapplication changing from /data/app/com.example.hasee.myapplication-1 to /data/app/com.example.hasee.myapplication-2 04-17 22:29:39.455 1541-1561/system_process I/ActivityManager: Force stopping com.example.hasee.myapplication appid=10031 user=-1: update pkg 04-17 22:29:39.464 1541-1570/system_process I/ActivityManager: Force stopping com.example.hasee.myapplication appid=10031 user=0: pkg removed 04-17 22:29:39.471 1752-1752/com.android.launcher3 I/art: Explicit concurrent mark sweep GC freed 1842(105KB) AllocSpace objects, 3(108KB) LOS objects, 39% free, 11MB/19MB, paused 137us total 6.681ms 04-17 22:29:39.473 1994-1994/com.android.flysilkworm I/art: Explicit concurrent mark sweep GC freed 165(6KB) AllocSpace objects, 1(36KB) LOS objects, 24% free, 8MB/11MB, paused 126us total 6.168ms 04-17 22:29:39.478 1644-1644/com.android.systemui I/art: Explicit concurrent mark sweep GC freed 17097(644KB) AllocSpace objects, 0(0B) LOS objects, 39% free, 16MB/27MB, paused 156us total 13.779ms 04-17 22:29:39.485 1541-1587/system_process I/InputReader: Reconfiguring input devices. changes=0x00000010 04-17 22:29:39.486 1541-1587/system_process I/InputReader: Reconfiguring input devices. changes=0x00000010 04-17 22:29:39.487 1714-1714/com.android.emu.coreservice I/EmuCoreService: Broadcast action = android.intent.action.PACKAGE_REMOVED 04-17 22:29:39.491 1541-1570/system_process W/Settings: Setting install_non_market_apps has moved from android.provider.Settings.Global to android.provider.Settings.Secure, returning read-only value. 04-17 22:29:39.491 1541-1587/system_process I/InputReader: Reconfiguring input devices. changes=0x00000010 04-17 22:29:39.492 2093-2093/com.android.keychain W/ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.startService:1692 android.content.ContextWrapper.startService:516 android.content.ContextWrapper.startService:516 com.android.keychain.KeyChainBroadcastReceiver.onReceive:12 android.app.ActivityThread.handleReceiver:2609 04-17 22:29:39.493 1752-1752/com.android.launcher3 W/Launcher: setApplicationContext called twice! old=com.android.launcher3.LauncherApplication@22977308 new=com.android.launcher3.LauncherApplication@22977308 04-17 22:29:39.494 1541-1560/system_process W/Searchables: No global search activity found 04-17 22:29:39.503 1541-1541/system_process I/art: Explicit concurrent mark sweep GC freed 83651(4MB) AllocSpace objects, 29(1129KB) LOS objects, 33% free, 15MB/23MB, paused 1.088ms total 29.050ms 04-17 22:29:39.503 1541-1541/system_process D/JobSchedulerService: Receieved: android.intent.action.PACKAGE_REMOVED 04-17 22:29:39.503 1541-1541/system_process D/BackupManagerService: Received broadcast Intent { act=android.intent.action.PACKAGE_REMOVED dat=package:com.example.hasee.myapplication flg=0x4000010 (has extras) } 04-17 22:29:39.504 1541-1570/system_process I/art: WaitForGcToComplete blocked for 12.932ms for cause Explicit 04-17 22:29:39.512 1994-1994/com.android.flysilkworm I/appstore: app Not Started 04-17 22:29:39.512 1541-1541/system_process D/BackupManagerService: Received broadcast Intent { act=android.intent.action.PACKAGE_ADDED dat=package:com.example.hasee.myapplication flg=0x4000010 (has extras) } 04-17 22:29:39.512 1541-1541/system_process W/BackupManagerService: Removing schedule queue dupe of com.example.hasee.myapplication 04-17 22:29:39.513 1541-1560/system_process W/Searchables: No global search activity found 04-17 22:29:39.515 1541-1560/system_process W/VoiceInteractionManagerService: no available voice recognition services found for user 0 04-17 22:29:39.515 1714-1714/com.android.emu.coreservice I/EmuCoreService: Broadcast action = android.intent.action.PACKAGE_ADDED 04-17 22:29:39.527 1541-1753/system_process W/BackupManagerService: dataChanged but no participant pkg='com.android.launcher3' uid=10020 04-17 22:29:39.536 1994-1994/com.android.flysilkworm I/appstore: app Not Started 04-17 22:29:39.539 1752-1752/com.android.launcher3 W/Launcher: setApplicationContext called twice! old=com.android.launcher3.LauncherApplication@22977308 new=com.android.launcher3.LauncherApplication@22977308 04-17 22:29:39.542 1541-1570/system_process I/art: Explicit concurrent mark sweep GC freed 5719(344KB) AllocSpace objects, 0(0B) LOS objects, 33% free, 15MB/23MB, paused 1.145ms total 38.299ms 04-17 22:29:39.546 2512-2512/? I/art: System.exit called, status: 0 04-17 22:29:39.547 2512-2512/? I/AndroidRuntime: VM exiting with result code 0. 04-17 22:29:39.628 1994-2199/com.android.flysilkworm I/System.out: 200 04-17 22:29:39.655 2536-2536/? I/appproc: denglibo exec app_process! cmdline: /system/bin com.android.commands.am.Am start -n com.example.hasee.myapplication/com.example.hasee.myapplication.MainActivity -a android.intent.action.MAIN -c android.intent.category.LAUNCHER 04-17 22:29:39.655 2536-2536/? D/AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<< 04-17 22:29:39.657 2536-2536/? D/AndroidRuntime: CheckJNI is OFF 04-17 22:29:39.667 2536-2536/? D/libnativebridge: PreInitializeNativeBridge name=unknown 04-17 22:29:39.679 2536-2536/? E/memtrack: Couldn't load memtrack module (No such file or directory) 04-17 22:29:39.679 2536-2536/? E/android.os.Debug: failed to load memtrack module: -2 04-17 22:29:39.694 2536-2536/? D/AndroidRuntime: Calling main entry com.android.commands.am.Am 04-17 22:29:39.718 1541-1555/system_process I/ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.example.hasee.myapplication/.MainActivity} from uid 0 on display 0 04-17 22:29:39.719 1541-1555/system_process V/WindowManager: addAppToken: AppWindowToken{362f7eb7 token=Token{2ac5a1b6 ActivityRecord{18688551 u0 com.example.hasee.myapplication/.MainActivity t7}}} to stack=1 task=7 at 0 04-17 22:29:39.720 1541-1566/system_process V/WindowManager: Adding window Window{3c93318e u0 Starting com.example.hasee.myapplication} at 2 of 5 (after Window{fa9636f u0 com.android.launcher3/com.android.launcher3.Launcher}) 04-17 22:29:39.721 2536-2536/? D/AndroidRuntime: Shutting down VM 04-17 22:29:39.721 2536-2536/? D/libnativebridge: call UnloadNativeBridge! state=1 04-17 22:29:39.730 1541-1555/system_process I/ActivityManager: Start proc 2546:com.example.hasee.myapplication/u0a31 for activity com.example.hasee.myapplication/.MainActivity 04-17 22:29:39.731 1714-1714/com.android.emu.coreservice I/EmuCoreService: Broadcast action = android.intent.action.TOP_ACTIVITY_CHANGED 04-17 22:29:39.748 2546-2546/? I/art: Late-enabling -Xcheck:jni 04-17 22:29:39.748 2546-2546/? D/libnativebridge: call UnloadNativeBridge! state=1 04-17 22:29:39.768 2546-2554/? I/art: Debugger is no longer active 04-17 22:29:39.861 2546-2546/? D/AndroidRuntime: Shutting down VM --------- beginning of crash 04-17 22:29:39.861 2546-2546/? E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.hasee.myapplication, PID: 2546 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.hasee.myapplication/com.example.hasee.myapplication.MainActivity}: java.lang.RuntimeException: Your content must have a ListView whose id attribute is 'android.R.id.list' at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2325) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387) at android.app.ActivityThread.access$800(ActivityThread.java:151) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5254) 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:905) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700) Caused by: java.lang.RuntimeException: Your content must have a ListView whose id attribute is 'android.R.id.list' at android.app.ListActivity.onContentChanged(ListActivity.java:243) at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:382) at android.app.Activity.setContentView(Activity.java:2145) at com.example.hasee.myapplication.MainActivity.onCreate(MainActivity.java:34) at android.app.Activity.performCreate(Activity.java:5990) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)  at android.app.ActivityThread.access$800(ActivityThread.java:151)  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)  at android.os.Handler.dispatchMessage(Handler.java:102)  at android.os.Looper.loop(Looper.java:135)  at android.app.ActivityThread.main(ActivityThread.java:5254)  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:905)  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)  04-17 22:29:39.861 1541-1708/system_process W/ActivityManager: Force finishing activity 1 com.example.hasee.myapplication/.MainActivity 04-17 22:29:39.951 1752-2049/com.android.launcher3 D/EGL_adreno: eglMakeCurrent: 0xaec34760: ver 3 1 (tinfo 0xaec395f0) 04-17 22:29:40.069 1365-1365/? E/EGL_adreno: tid 1365: eglCreateSyncKHR(1987): error 0x3004 (EGL_BAD_ATTRIBUTE) 04-17 22:29:40.074 1541-1541/system_process W/art: Long monitor contention event with owner method=void com.android.server.am.ActivityManagerService.crashApplication(com.android.server.am.ProcessRecord, android.app.ApplicationErrorReport$CrashInfo) from ActivityManagerService.java:12135 waiters=0 for 211ms 04-17 22:29:40.074 1541-1561/system_process W/System.err: java.lang.Exception: denglibo show AlertDialog! title= 04-17 22:29:40.074 1541-1561/system_process W/System.err: at android.app.AlertDialog.show(AlertDialog.java:112) 04-17 22:29:40.074 1541-1561/system_process W/System.err: at com.android.server.am.ActivityManagerService$MainHandler.handleMessage(ActivityManagerService.java:1342) 04-17 22:29:40.074 1541-1561/system_process W/System.err: at android.os.Handler.dispatchMessage(Handler.java:102) 04-17 22:29:40.074 1541-1561/system_process W/System.err: at android.os.Looper.loop(Looper.java:135) 04-17 22:29:40.074 1541-1561/system_process W/System.err: at android.os.HandlerThread.run(HandlerThread.java:61) 04-17 22:29:40.074 1541-1561/system_process W/System.err: at com.android.server.ServiceThread.run(ServiceThread.java:46) 04-17 22:29:40.106 1541-2235/system_process I/OpenGLRenderer: Initialized EGL, version 1.4 04-17 22:29:40.106 1541-2235/system_process I/EGL_adreno: eglCreateContext request GLES major-version=2 04-17 22:29:40.107 1541-2235/system_process D/EGL_adreno: eglCreateContext: 0x9edfe9a0: maj 3 min 1 rcv 4 04-17 22:29:40.111 1541-2235/system_process D/EGL_adreno: eglMakeCurrent: 0x9edfe9a0: ver 3 1 (tinfo 0xa22f8770) 04-17 22:29:40.118 1541-2235/system_process E/EGL_adreno: tid 2235: eglSurfaceAttrib(1266): error 0x3009 (EGL_BAD_MATCH) 04-17 22:29:40.118 1541-2235/system_process W/OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xaec22700, error=EGL_BAD_MATCH 04-17 22:29:40.119 1541-2235/system_process D/EGL_adreno: eglMakeCurrent: 0x9edfe9a0: ver 3 1 (tinfo 0xa22f8770) 04-17 22:29:40.574 1541-1561/system_process W/ActivityManager: Activity pause timeout for ActivityRecord{18688551 u0 com.example.hasee.myapplication/.MainActivity t7 f} 04-17 22:29:40.577 1714-1714/com.android.emu.coreservice I/EmuCoreService: Broadcast action = android.intent.action.TOP_ACTIVITY_CHANGED 04-17 22:29:40.593 1752-2049/com.android.launcher3 I/OpenGLRenderer: Initialized EGL, version 1.4 04-17 22:29:40.594 1752-2049/com.android.launcher3 I/EGL_adreno: eglCreateContext request GLES major-version=2 04-17 22:29:40.595 1752-2049/com.android.launcher3 D/EGL_adreno: eglCreateContext: 0xaec34760: maj 3 min 1 rcv 4 04-17 22:29:40.602 1752-2049/com.android.launcher3 D/EGL_adreno: eglMakeCurrent: 0xaec34760: ver 3 1 (tinfo 0xaec395f0) 04-17 22:29:40.615 1752-2049/com.android.launcher3 E/EGL_adreno: tid 2049: eglSurfaceAttrib(1266): error 0x3009 (EGL_BAD_MATCH) 04-17 22:29:40.615 1752-2049/com.android.launcher3 W/OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xaec601a0, error=EGL_BAD_MATCH 04-17 22:29:40.616 1752-2049/com.android.launcher3 D/EGL_adreno: eglMakeCurrent: 0xaec34760: ver 3 1 (tinfo 0xaec395f0) 04-17 22:29:40.662 1752-2049/com.android.launcher3 V/RenderScript: 0xaedacc00 Launching thread(s), CPUs 2 04-17 22:29:40.798 1541-1595/system_process E/WifiStateMachine: WifiStateMachine CMD_START_SCAN source -2 txSuccessRate=0.00 rxSuccessRate=0.00 targetRoamBSSID=00:81:ec:72:db:e9 RSSI=-45 04-17 22:29:41.146 1752-2049/com.android.launcher3 D/EGL_adreno: eglMakeCurrent: 0xaec34760: ver 3 1 (tinfo 0xaec395f0) 04-17 22:29:41.157 1752-2049/com.android.launcher3 D/EGL_adreno: eglMakeCurrent: 0xaec34760: ver 3 1 (tinfo 0xaec395f0) 04-17 22:29:41.160 1752-2049/com.android.launcher3 D/EGL_adreno: eglMakeCurrent: 0xaec34760: ver 3 1 (tinfo 0xaec395f0) 04-17 22:29:41.160 1752-2049/com.android.launcher3 W/OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer... 04-17 22:29:41.161 1752-2049/com.android.launcher3 D/EGL_adreno: eglMakeCurrent: 0xaec34760: ver 3 1 (tinfo 0xaec395f0) 04-17 22:29:41.578 1644-1644/com.android.systemui W/ResourceType: No package identifier when getting value for resource number 0x00000000 04-17 22:29:41.578 1644-1644/com.android.systemui W/PackageManager: Failure retrieving resources for com.example.hasee.myapplication: Resource ID #0x0 04-17 22:29:50.691 1541-1561/system_process W/ActivityManager: Activity destroy timeout for ActivityRecord{18688551 u0 com.example.hasee.myapplication/.MainActivity t7 f} 04-17 22:29:59.192 1365-1515/? E/SurfaceFlinger: warning, detect vsync overflow! 04-17 22:30:00.041 1365-1515/? E/SurfaceFlinger: warning, detect vsync overflow! 04-17 22:30:00.801 1541-1595/system_process E/WifiStateMachine: WifiStateMachine CMD_START_SCAN source -2 txSuccessRate=0.00 rxSuccessRate=0.00 targetRoamBSSID=00:81:ec:72:db:e9 RSSI=-45 04-17 22:30:20.806 1541-1595/system_process E/WifiStateMachine: WifiStateMachine CMD_START_SCAN source -2 txSuccessRate=0.00 rxSuccessRate=0.00 targetRoamBSSID=00:81:ec:72:db:e9 RSSI=-45 04-17 22:30:40.811 1541-1595/system_process E/WifiStateMachine: WifiStateMachine CMD_START_SCAN source -2 txSuccessRate=0.00 rxSuccessRate=0.00 targetRoamBSSID=00:81:ec:72:db:e9 RSSI=-45 04-17 22:31:00.816 1541-1595/system_process E/WifiStateMachine: WifiStateMachine CMD_START_SCAN source -2 txSuccessRate=0.00 rxSuccessRate=0.00 targetRoamBSSID=00:81:ec:72:db:e9 RSSI=-45 04-17 22:31:20.817 1541-1595/system_process E/WifiStateMachine: WifiStateMachine CMD_START_SCAN source -2 txSuccessRate=0.00 rxSuccessRate=0.00 targetRoamBSSID=00:81:ec:72:db:e9 RSSI=-45 04-17 22:31:20.920 1541-1595/system_process E/WifiStateMachine: denglibo mScanResults.size=1 04-17 22:31:20.920 1541-1595/system_process I/LdWifi: ld_get_eth0_ip return 172.16.2.15 04-17 22:31:40.821 1541-1595/system_process E/WifiStateMachine: WifiStateMachine CMD_START_SCAN source -2 txSuccessRate=0.00 rxSuccessRate=0.00 targetRoamBSSID=00:81:ec:72:db:e9 RSSI=-45 04-17 22:32:00.824 1541-1595/system_process E/WifiStateMachine: WifiStateMachine CMD_START_SCAN source -2 txSuccessRate=0.00 rxSuccessRate=0.00 targetRoamBSSID=00:81:ec:72:db:e9 RSSI=-45 04-17 22:32:20.827 1541-1595/system_process E/WifiStateMachine: WifiStateMachine CMD_START_SCAN source -2 txSuccessRate=0.00 rxSuccessRate=0.00 targetRoamBSSID=00:81:ec:72:db:e9 RSSI=-45
android PopupMenu 不能弹出菜单
我每隔一行写了一个System.out,发现前面的代码都运行了,最后的show()没运行。 下面是代码及logcat内容: PopupMenu popupMenu = new PopupMenu(getBaseContext(), view, 10); popupMenu.getMenuInflater().inflate(R.menu.list_of_popup_menu, popupMenu.getMenu()); popupMenu.setOnMenuItemClickListener(new PopupMenu.OnMenuItemClickListener() { @Override public boolean onMenuItemClick(MenuItem item) { switch (item.getItemId()) { case R.id.hello: Toast.makeText(getBaseContext(), "hello", Toast.LENGTH_SHORT).show(); case R.id.world: Toast.makeText(getBaseContext(), "world", Toast.LENGTH_SHORT).show(); } return true; } }); popupMenu.show(); mypopupmenu W/art: Before Android 4.1, method int android.support.v7.widget.ListViewCompat.lookForSelectablePosition(int, boolean) would have incorrectly overridden the package-private method in android.widget.ListView mypopupmenu I/ListPopupWindow: Could not find method setEpicenterBounds(Rect) on PopupWindow. Oh well. mypopupmenu D/AndroidRuntime: Shutting down VM mypopupmenu E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.zwm12.mypopupmenu, PID: 2926 java.lang.RuntimeException: Failed to resolve attribute at index 6 at android.content.res.TypedArray.getLayoutDimension(TypedArray.java:603) at android.view.ViewGroup$LayoutParams.setBaseAttributes(ViewGroup.java:6423) at android.view.ViewGroup$MarginLayoutParams.<init>(ViewGroup.java:6591) at android.widget.FrameLayout$LayoutParams.<init>(FrameLayout.java:735) at android.widget.FrameLayout.generateLayoutParams(FrameLayout.java:679) at android.widget.FrameLayout.generateLayoutParams(FrameLayout.java:62) at android.view.LayoutInflater.inflate(LayoutInflater.java:492) at android.view.LayoutInflater.inflate(LayoutInflater.java:414) at android.support.v7.view.menu.MenuAdapter.getView(MenuAdapter.java:85) at android.support.v7.view.menu.MenuPopup.measureIndividualMenuWidth(MenuPopup.java:156) at android.support.v7.view.menu.StandardMenuPopup.tryShow(StandardMenuPopup.java:153) at android.support.v7.view.menu.StandardMenuPopup.show(StandardMenuPopup.java:187) at android.support.v7.view.menu.MenuPopupHelper.showPopup(MenuPopupHelper.java:286) at android.support.v7.view.menu.MenuPopupHelper.tryShow(MenuPopupHelper.java:171) at android.support.v7.view.menu.MenuPopupHelper.show(MenuPopupHelper.java:137) at android.support.v7.widget.PopupMenu.show(PopupMenu.java:233) at com.example.zwm12.mypopupmenu.MainActivity$1.onClick(MainActivity.java:43) at android.view.View.performClick(View.java:4756) at android.view.View$PerformClick.run(View.java:19749) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5221) 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:899) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
关于构建项目时遇到的问题
AGPBI: {"kind":"error","text":"error: style attribute \u0027@android:attr/windowEnterAnimation\u0027 not found.","sources":[{"file":"G:\\IntelligentSafetyBox\\app\\src\\main\\res\\values\\styles.xml","position":{"startLine":21,"startColumn":4,"startOffset":976,"endLine":27,"endColumn":12,"endOffset":1370}}],"original":"","tool":"AAPT"} AGPBI: {"kind":"error","text":"error: style attribute \u0027@android:attr/windowExitAnimation\u0027 not found.","sources":[{"file":"G:\\IntelligentSafetyBox\\app\\src\\main\\res\\values\\styles.xml","position":{"startLine":21,"startColumn":4,"startOffset":976,"endLine":27,"endColumn":12,"endOffset":1370}}],"original":"","tool":"AAPT"} ![图片说明](https://img-ask.csdn.net/upload/201809/04/1536063574_693440.png)
小白求大神解答 急急急 在线等
<application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme" > <activity android:name=".FirstActivity" android:lable="This is FirstActivity" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> </manifest> 这段代码总是提示错误。错误提示如下: error: No resource identifier found for attribute 'lable' in package 'android' 各位看到的大神浪费点时间给我这个小白解答一下。在线等
关于安卓页面跳转的问题
做了两个页面与页面跳转按钮,二页面想使用ListActivity,但是继承了ListActivity类后闪退 继承Activity时运行正常,但不能看到List效果,请大神帮忙看下代码,感谢 DEBUG 线程 [main](已暂挂(异常 RuntimeException)) ActivityThread.performLaunchActivity(ActivityThread$ActivityClientRecord, Intent) 行: 3254 ActivityThread.handleLaunchActivity(ActivityThread$ActivityClientRecord, Intent) 行: 3350 ActivityThread.access$1100(ActivityThread, ActivityThread$ActivityClientRecord, Intent) 行: 223 ActivityThread$H.handleMessage(Message) 行: 1794 ActivityThread$H(Handler).dispatchMessage(Message) 行: 102 Looper.loop() 行: 148 ActivityThread.main(String[]) 行: 7224 Method.invoke(Object, Object...) 行: 不可用 [本机方法] ZygoteInit$MethodAndArgsCaller.run() 行: 1230 ZygoteInit.main(String[]) 行: 1120 报错日志 04-11 10:03:01.957: E/MotionRecognitionManager(30956): mSContextService = android.hardware.scontext.ISContextService$Stub$Proxy@b530bca 04-11 10:03:01.967: E/MotionRecognitionManager(30956): motionService = com.samsung.android.motion.IMotionRecognitionService$Stub$Proxy@82fc13b 04-11 10:03:01.967: E/MotionRecognitionManager(30956): motionService = com.samsung.android.motion.IMotionRecognitionService$Stub$Proxy@82fc13b 04-11 10:03:01.967: D/AndroidRuntime(30956): Shutting down VM 04-11 10:03:01.967: E/AndroidRuntime(30956): FATAL EXCEPTION: main 04-11 10:03:01.967: E/AndroidRuntime(30956): Process: com.example.audiorecord, PID: 30956 04-11 10:03:01.967: E/AndroidRuntime(30956): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.audiorecord/com.example.audiorecord.Activity02}: java.lang.RuntimeException: Your content must have a ListView whose id attribute is 'android.R.id.list' 04-11 10:03:01.967: E/AndroidRuntime(30956): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3254) 04-11 10:03:01.967: E/AndroidRuntime(30956): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3350) 04-11 10:03:01.967: E/AndroidRuntime(30956): at android.app.ActivityThread.access$1100(ActivityThread.java:223) 04-11 10:03:01.967: E/AndroidRuntime(30956): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794) 04-11 10:03:01.967: E/AndroidRuntime(30956): at android.os.Handler.dispatchMessage(Handler.java:102) 04-11 10:03:01.967: E/AndroidRuntime(30956): at android.os.Looper.loop(Looper.java:148) 04-11 10:03:01.967: E/AndroidRuntime(30956): at android.app.ActivityThread.main(ActivityThread.java:7224) 04-11 10:03:01.967: E/AndroidRuntime(30956): at java.lang.reflect.Method.invoke(Native Method) 04-11 10:03:01.967: E/AndroidRuntime(30956): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) 04-11 10:03:01.967: E/AndroidRuntime(30956): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120) 04-11 10:03:01.967: E/AndroidRuntime(30956): Caused by: java.lang.RuntimeException: Your content must have a ListView whose id attribute is 'android.R.id.list' 04-11 10:03:01.967: E/AndroidRuntime(30956): at android.app.ListActivity.onContentChanged(ListActivity.java:243) 04-11 10:03:01.967: E/AndroidRuntime(30956): at com.android.internal.policy.PhoneWindow.setContentView(PhoneWindow.java:479) 04-11 10:03:01.967: E/AndroidRuntime(30956): at android.app.Activity.setContentView(Activity.java:2388) 04-11 10:03:01.967: E/AndroidRuntime(30956): at com.example.audiorecord.Activity02.onCreate(Activity02.java:38) 04-11 10:03:01.967: E/AndroidRuntime(30956): at android.app.Activity.performCreate(Activity.java:6877) 04-11 10:03:01.967: E/AndroidRuntime(30956): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1136) 04-11 10:03:01.967: E/AndroidRuntime(30956): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3207) 04-11 10:03:01.967: E/AndroidRuntime(30956): ... 9 more Activity1: package com.example.audiorecord; import java.io.File; import java.io.IOException; import android.app.Activity; import android.media.MediaPlayer; import android.media.MediaRecorder; import android.os.Bundle; import android.os.Environment; import android.util.Log; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.content.Intent; public class RecordActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); super.onCreate(savedInstanceState); /* 设置显示main.xml布局*/ setContentView(R.layout.main); /* findViewById(R.id.button1)取得布局main.xml中的button1 */ Button button = (Button) findViewById(R.id.button1); /* 监听button的事件信息*/ button.setOnClickListener(new Button.OnClickListener() { public void onClick(View v) { /* 新建一个Intent对象*/ Intent intent = new Intent(); /* 指定intent要启动的类*/ intent.setClass(RecordActivity.this, Activity02.class); /* 启动一个新的Activity */ startActivity(intent); /* 关闭当前的Activity */ RecordActivity.this.finish(); } }); } } Activity2 package com.example.audiorecord; import java.io.File; import java.util.ArrayList; import java.util.List; import android.app.Activity; import android.app.AlertDialog; import android.app.ListActivity; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.ArrayAdapter; import android.widget.Button; import android.widget.ListView; import android.widget.TextView; public class Activity02 extends ListActivity{ //声明 private List<String> items = null;//存放名称 private List<String> paths = null;//存放路径 private String rootPath = "/"; private TextView tv; private Button Back; public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); /* 设置显示main2布局*/ setContentView(R.layout.main2); /* findViewById(R.id.button2)取得布局main.xml中的button2 */ /* 监听button的事件信息*/ tv = (TextView) this.findViewById(R.id.TextView); this.getFileDir(rootPath);//获取rootPath目录下的文件. Back = (Button) findViewById(R.id.back); Back.setOnClickListener(new BackListener()); } class BackListener implements OnClickListener { public void onClick(View v) { Intent intent = new Intent(); /* 指定intent要启动的类*/ intent.setClass(Activity02.this, RecordActivity.class); /* 启动一个新的Activity */ startActivity(intent); /* 关闭当前的Activity */ Activity02.this.finish(); } } public void getFileDir(String filePath) { try{ this.tv.setText("当前路径:"+filePath);// 设置当前所在路径 items = new ArrayList<String>(); paths = new ArrayList<String>(); File f = new File(filePath); File[] files = f.listFiles();// 列出所有文件 // 如果不是根目录,则列出返回根目录和上一目录选项 if (!filePath.equals(rootPath)) { items.add("返回根目录"); paths.add(rootPath); items.add("返回上一层目录"); paths.add(f.getParent()); } // 将所有文件存入list中 if(files != null){ int count = files.length;// 文件个数 for (int i = 0; i < count; i++) { File file = files[i]; items.add(file.getName()); paths.add(file.getPath()); } } ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1, items); this.setListAdapter(adapter); }catch(Exception ex){ ex.printStackTrace(); } } @Override protected void onListItemClick(ListView l, View v, int position, long id) { super.onListItemClick(l, v, position, id); String path = paths.get(position); File file = new File(path); //如果是文件夹就继续分解 if(file.isDirectory()){ this.getFileDir(path); }else{ new AlertDialog.Builder(this).setTitle("提示").setMessage(file.getName()+" 是一个文件!").setPositiveButton("OK", new DialogInterface.OnClickListener(){ public void onClick(DialogInterface dialog, int which) { } }).show(); } }} MANIFEST <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.audiorecord" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion="4" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" /> <uses-permission android:name="android.permission.RECORD_AUDIO" /> <application android:icon="@drawable/ic_launcher" android:label="@string/app_name" > <activity android:name=".RecordActivity" android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <activity android:name=".Activity02"></activity> </application> </manifest>
爬虫福利二 之 妹子图网MM批量下载
爬虫福利一:27报网MM批量下载 点击 看了本文,相信大家对爬虫一定会产生强烈的兴趣,激励自己去学习爬虫,在这里提前祝:大家学有所成! 目标网站:妹子图网 环境:Python3.x 相关第三方模块:requests、beautifulsoup4 Re:各位在测试时只需要将代码里的变量path 指定为你当前系统要保存的路径,使用 python xxx.py 或IDE运行即可。 ...
Java学习的正确打开方式
在博主认为,对于入门级学习java的最佳学习方法莫过于视频+博客+书籍+总结,前三者博主将淋漓尽致地挥毫于这篇博客文章中,至于总结在于个人,实际上越到后面你会发现学习的最好方式就是阅读参考官方文档其次就是国内的书籍,博客次之,这又是一个层次了,这里暂时不提后面再谈。博主将为各位入门java保驾护航,各位只管冲鸭!!!上天是公平的,只要不辜负时间,时间自然不会辜负你。 何谓学习?博主所理解的学习,它是一个过程,是一个不断累积、不断沉淀、不断总结、善于传达自己的个人见解以及乐于分享的过程。
大学四年自学走来,这些私藏的实用工具/学习网站我贡献出来了
大学四年,看课本是不可能一直看课本的了,对于学习,特别是自学,善于搜索网上的一些资源来辅助,还是非常有必要的,下面我就把这几年私藏的各种资源,网站贡献出来给你们。主要有:电子书搜索、实用工具、在线视频学习网站、非视频学习网站、软件下载、面试/求职必备网站。 注意:文中提到的所有资源,文末我都给你整理好了,你们只管拿去,如果觉得不错,转发、分享就是最大的支持了。 一、电子书搜索 对于大部分程序员...
linux系列之常用运维命令整理笔录
本博客记录工作中需要的linux运维命令,大学时候开始接触linux,会一些基本操作,可是都没有整理起来,加上是做开发,不做运维,有些命令忘记了,所以现在整理成博客,当然vi,文件操作等就不介绍了,慢慢积累一些其它拓展的命令,博客不定时更新 free -m 其中:m表示兆,也可以用g,注意都要小写 Men:表示物理内存统计 total:表示物理内存总数(total=used+free) use...
比特币原理详解
一、什么是比特币 比特币是一种电子货币,是一种基于密码学的货币,在2008年11月1日由中本聪发表比特币白皮书,文中提出了一种去中心化的电子记账系统,我们平时的电子现金是银行来记账,因为银行的背后是国家信用。去中心化电子记账系统是参与者共同记账。比特币可以防止主权危机、信用风险。其好处不多做赘述,这一层面介绍的文章很多,本文主要从更深层的技术原理角度进行介绍。 二、问题引入 假设现有4个人...
程序员接私活怎样防止做完了不给钱?
首先跟大家说明一点,我们做 IT 类的外包开发,是非标品开发,所以很有可能在开发过程中会有这样那样的需求修改,而这种需求修改很容易造成扯皮,进而影响到费用支付,甚至出现做完了项目收不到钱的情况。 那么,怎么保证自己的薪酬安全呢? 我们在开工前,一定要做好一些证据方面的准备(也就是“讨薪”的理论依据),这其中最重要的就是需求文档和验收标准。一定要让需求方提供这两个文档资料作为开发的基础。之后开发...
网页实现一个简单的音乐播放器(大佬别看。(⊙﹏⊙))
今天闲着无事,就想写点东西。然后听了下歌,就打算写个播放器。 于是乎用h5 audio的加上js简单的播放器完工了。 演示地点演示 html代码如下` music 这个年纪 七月的风 音乐 ` 然后就是css`*{ margin: 0; padding: 0; text-decoration: none; list-...
Python十大装B语法
Python 是一种代表简单思想的语言,其语法相对简单,很容易上手。不过,如果就此小视 Python 语法的精妙和深邃,那就大错特错了。本文精心筛选了最能展现 Python 语法之精妙的十个知识点,并附上详细的实例代码。如能在实战中融会贯通、灵活使用,必将使代码更为精炼、高效,同时也会极大提升代码B格,使之看上去更老练,读起来更优雅。
数据库优化 - SQL优化
以实际SQL入手,带你一步一步走上SQL优化之路!
2019年11月中国大陆编程语言排行榜
2019年11月2日,我统计了某招聘网站,获得有效程序员招聘数据9万条。针对招聘信息,提取编程语言关键字,并统计如下: 编程语言比例 rank pl_ percentage 1 java 33.62% 2 cpp 16.42% 3 c_sharp 12.82% 4 javascript 12.31% 5 python 7.93% 6 go 7.25% 7 p...
通俗易懂地给女朋友讲:线程池的内部原理
餐盘在灯光的照耀下格外晶莹洁白,女朋友拿起红酒杯轻轻地抿了一小口,对我说:“经常听你说线程池,到底线程池到底是个什么原理?”
经典算法(5)杨辉三角
杨辉三角 是经典算法,这篇博客对它的算法思想进行了讲解,并有完整的代码实现。
腾讯算法面试题:64匹马8个跑道需要多少轮才能选出最快的四匹?
昨天,有网友私信我,说去阿里面试,彻底的被打击到了。问了为什么网上大量使用ThreadLocal的源码都会加上private static?他被难住了,因为他从来都没有考虑过这个问题。无独有偶,今天笔者又发现有网友吐槽了一道腾讯的面试题,我们一起来看看。 腾讯算法面试题:64匹马8个跑道需要多少轮才能选出最快的四匹? 在互联网职场论坛,一名程序员发帖求助到。二面腾讯,其中一个算法题:64匹...
面试官:你连RESTful都不知道我怎么敢要你?
干货,2019 RESTful最贱实践
JDK12 Collectors.teeing 你真的需要了解一下
前言 在 Java 12 里面有个非常好用但在官方 JEP 没有公布的功能,因为它只是 Collector 中的一个小改动,它的作用是 merge 两个 collector 的结果,这句话显得很抽象,老规矩,我们先来看个图(这真是一个不和谐的图????): 管道改造经常会用这个小东西,通常我们叫它「三通」,它的主要作用就是将 downstream1 和 downstre...
为啥国人偏爱Mybatis,而老外喜欢Hibernate/JPA呢?
关于SQL和ORM的争论,永远都不会终止,我也一直在思考这个问题。昨天又跟群里的小伙伴进行了一番讨论,感触还是有一些,于是就有了今天这篇文。 声明:本文不会下关于Mybatis和JPA两个持久层框架哪个更好这样的结论。只是摆事实,讲道理,所以,请各位看官勿喷。 一、事件起因 关于Mybatis和JPA孰优孰劣的问题,争论已经很多年了。一直也没有结论,毕竟每个人的喜好和习惯是大不相同的。我也看...
SQL-小白最佳入门sql查询一
不要偷偷的查询我的个人资料,即使你再喜欢我,也不要这样,真的不好;
项目中的if else太多了,该怎么重构?
介绍 最近跟着公司的大佬开发了一款IM系统,类似QQ和微信哈,就是聊天软件。我们有一部分业务逻辑是这样的 if (msgType = "文本") { // dosomething } else if(msgType = "图片") { // doshomething } else if(msgType = "视频") { // doshomething } else { // doshom...
【图解经典算法题】如何用一行代码解决约瑟夫环问题
约瑟夫环问题算是很经典的题了,估计大家都听说过,然后我就在一次笔试中遇到了,下面我就用 3 种方法来详细讲解一下这道题,最后一种方法学了之后保证让你可以让你装逼。 问题描述:编号为 1-N 的 N 个士兵围坐在一起形成一个圆圈,从编号为 1 的士兵开始依次报数(1,2,3…这样依次报),数到 m 的 士兵会被杀死出列,之后的士兵再从 1 开始报数。直到最后剩下一士兵,求这个士兵的编号。 1、方...
致 Python 初学者
欢迎来到“Python进阶”专栏!来到这里的每一位同学,应该大致上学习了很多 Python 的基础知识,正在努力成长的过程中。在此期间,一定遇到了很多的困惑,对未来的学习方向感到迷茫。我非常理解你们所面临的处境。我从2007年开始接触 python 这门编程语言,从2009年开始单一使用 python 应对所有的开发工作,直至今天。回顾自己的学习过程,也曾经遇到过无数的困难,也曾经迷茫过、困惑过。开办这个专栏,正是为了帮助像我当年一样困惑的 Python 初学者走出困境、快速成长。希望我的经验能真正帮到你
“狗屁不通文章生成器”登顶GitHub热榜,分分钟写出万字形式主义大作
一、垃圾文字生成器介绍 最近在浏览GitHub的时候,发现了这样一个骨骼清奇的雷人项目,而且热度还特别高。 项目中文名:狗屁不通文章生成器 项目英文名:BullshitGenerator 根据作者的介绍,他是偶尔需要一些中文文字用于GUI开发时测试文本渲染,因此开发了这个废话生成器。但由于生成的废话实在是太过富于哲理,所以最近已经被小伙伴们给玩坏了。 他的文风可能是这样的: 你发现,...
程序员:我终于知道post和get的区别
是一个老生常谈的话题,然而随着不断的学习,对于以前的认识有很多误区,所以还是需要不断地总结的,学而时习之,不亦说乎
GitHub标星近1万:只需5秒音源,这个网络就能实时“克隆”你的声音
作者 | Google团队 译者 | 凯隐 编辑 | Jane 出品 | AI科技大本营(ID:rgznai100) 本文中,Google 团队提出了一种文本语音合成(text to speech)神经系统,能通过少量样本学习到多个不同说话者(speaker)的语音特征,并合成他们的讲话音频。此外,对于训练时网络没有接触过的说话者,也能在不重新训练的情况下,仅通过未知...
《程序人生》系列-这个程序员只用了20行代码就拿了冠军
你知道的越多,你不知道的越多 点赞再看,养成习惯GitHub上已经开源https://github.com/JavaFamily,有一线大厂面试点脑图,欢迎Star和完善 前言 这一期不算《吊打面试官》系列的,所有没前言我直接开始。 絮叨 本来应该是没有这期的,看过我上期的小伙伴应该是知道的嘛,双十一比较忙嘛,要值班又要去帮忙拍摄年会的视频素材,还得搞个程序员一天的Vlog,还要写BU...
加快推动区块链技术和产业创新发展,2019可信区块链峰会在京召开
11月8日,由中国信息通信研究院、中国通信标准化协会、中国互联网协会、可信区块链推进计划联合主办,科技行者协办的2019可信区块链峰会将在北京悠唐皇冠假日酒店开幕。   区块链技术被认为是继蒸汽机、电力、互联网之后,下一代颠覆性的核心技术。如果说蒸汽机释放了人类的生产力,电力解决了人类基本的生活需求,互联网彻底改变了信息传递的方式,区块链作为构造信任的技术有重要的价值。   1...
程序员把地府后台管理系统做出来了,还有3.0版本!12月7号最新消息:已在开发中有github地址
第一幕:缘起 听说阎王爷要做个生死簿后台管理系统,我们派去了一个程序员…… 996程序员做的梦: 第一场:团队招募 为了应对地府管理危机,阎王打算找“人”开发一套地府后台管理系统,于是就在地府总经办群中发了项目需求。 话说还是中国电信的信号好,地府都是满格,哈哈!!! 经常会有外行朋友问:看某网站做的不错,功能也简单,你帮忙做一下? 而这次,面对这样的需求,这个程序员...
网易云6亿用户音乐推荐算法
网易云音乐是音乐爱好者的集聚地,云音乐推荐系统致力于通过 AI 算法的落地,实现用户千人千面的个性化推荐,为用户带来不一样的听歌体验。 本次分享重点介绍 AI 算法在音乐推荐中的应用实践,以及在算法落地过程中遇到的挑战和解决方案。 将从如下两个部分展开: AI算法在音乐推荐中的应用 音乐场景下的 AI 思考 从 2013 年 4 月正式上线至今,网易云音乐平台持续提供着:乐屏社区、UGC...
【技巧总结】位运算装逼指南
位算法的效率有多快我就不说,不信你可以去用 10 亿个数据模拟一下,今天给大家讲一讲位运算的一些经典例子。不过,最重要的不是看懂了这些例子就好,而是要在以后多去运用位运算这些技巧,当然,采用位运算,也是可以装逼的,不信,你往下看。我会从最简单的讲起,一道比一道难度递增,不过居然是讲技巧,那么也不会太难,相信你分分钟看懂。 判断奇偶数 判断一个数是基于还是偶数,相信很多人都做过,一般的做法的代码如下...
【管理系统课程设计】美少女手把手教你后台管理
【文章后台管理系统】URL设计与建模分析+项目源码+运行界面 栏目管理、文章列表、用户管理、角色管理、权限管理模块(文章最后附有源码) 1. 这是一个什么系统? 1.1 学习后台管理系统的原因 随着时代的变迁,现如今各大云服务平台横空出世,市面上有许多如学生信息系统、图书阅读系统、停车场管理系统等的管理系统,而本人家里就有人在用烟草销售系统,直接在网上完成挑选、购买与提交收货点,方便又快捷。 试想,若没有烟草销售系统,本人家人想要购买烟草,还要独自前往药...
4G EPS 第四代移动通信系统
目录 文章目录目录4G 与 LTE/EPCLTE/EPC 的架构E-UTRANE-UTRAN 协议栈eNodeBEPCMMES-GWP-GWHSSLTE/EPC 协议栈概览 4G 与 LTE/EPC 4G,即第四代移动通信系统,提供了 3G 不能满足的无线网络宽带化,主要提供数据(上网)业务。而 LTE(Long Term Evolution,长期演进技术)是电信领域用于手机及数据终端的高速无线通...
相关热词 c# plc s1200 c#里氏转换原则 c# 主界面 c# do loop c#存为组套 模板 c# 停掉协程 c# rgb 读取图片 c# 图片颜色调整 最快 c#多张图片上传 c#密封类与密封方法
立即提问