android异常:java.lang.NoClassDefFoundError求大神来助 20C

图片说明

运行时异常,在小米手机上也没问题,在coolpad上会崩溃,报这个错误

3个回答

没有找到这个类:com.goole.firbase.FirebaseOptions 其余的手机呢?手机厂商修改源码改动了吧

这个是手机的问题吧,,

简单理解就是类加载器试图加载类的定义,但是找不到这个类的定义,而实际上这个类文件是存在的(说就是在加载这个类文件时出错)。
这和ClassNotFoundException是有区别的,ClassNotFoundException是真的类找不到,不存在。

加载类报错,一般可能是类里面的静态变量初始化失败导致。检查一下相关类static修饰的变量,这些变量都是在加载类时实例化的,如果
他们因为某些原因实例化失败了,就导致类加载失败了。

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
java.lang.NoClassDefFoundError
java.lang.NoClassDefFoundError: com.qiniu.android.storage.UploadManager jar包是七牛官网下载的名称是qiniu-androoid-sdk-7.0.0.0.jar,不知道为什么啊 token什么的都是从后台拿来的文件是本地的 求大神解决啊
android的LocationBroadcastManager的包资源配置问题,求指教!
一开始,我创建一个LocationBroadcastManager的变量,结果系统库里识别不了这个类 ![图片说明](https://img-ask.csdn.net/upload/201610/17/1476681057_620065.png) 然后我就上网,看到别人说的解决方法说是:因为没有导入android.support.v4.conten这个包;然后我就按提示导入了support-v4-19.1.0.jar![图片说明](https://img-ask.csdn.net/upload/201610/17/1476681645_561409.png) 之后就没有报错了,但是在运行的时候,又报错,下面是Log: 10-17 01:35:26.788: E/AndroidRuntime(5555): FATAL EXCEPTION: main 10-17 01:35:26.788: E/AndroidRuntime(5555): Process: com.example.broadcastreceive, PID: 5555 10-17 01:35:26.788: E/AndroidRuntime(5555): java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/content/LocalBroadcastManager; 10-17 01:35:26.788: E/AndroidRuntime(5555): at com.example.broadcastreceive.MainActivity.onCreate(MainActivity.java:34) 10-17 01:35:26.788: E/AndroidRuntime(5555): at android.app.Activity.performCreate(Activity.java:5990) 10-17 01:35:26.788: E/AndroidRuntime(5555): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106) 10-17 01:35:26.788: E/AndroidRuntime(5555): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278) 10-17 01:35:26.788: E/AndroidRuntime(5555): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387) 10-17 01:35:26.788: E/AndroidRuntime(5555): at android.app.ActivityThread.access$800(ActivityThread.java:151) 10-17 01:35:26.788: E/AndroidRuntime(5555): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303) 10-17 01:35:26.788: E/AndroidRuntime(5555): at android.os.Handler.dispatchMessage(Handler.java:102) 10-17 01:35:26.788: E/AndroidRuntime(5555): at android.os.Looper.loop(Looper.java:135) 10-17 01:35:26.788: E/AndroidRuntime(5555): at android.app.ActivityThread.main(ActivityThread.java:5254) 10-17 01:35:26.788: E/AndroidRuntime(5555): at java.lang.reflect.Method.invoke(Native Method) 10-17 01:35:26.788: E/AndroidRuntime(5555): at java.lang.reflect.Method.invoke(Method.java:372) 10-17 01:35:26.788: E/AndroidRuntime(5555): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) 10-17 01:35:26.788: E/AndroidRuntime(5555): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) 10-17 01:35:26.788: E/AndroidRuntime(5555): Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v4.content.LocalBroadcastManager" on path: DexPathList[[zip file "/data/app/com.example.broadcastreceive-2/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]] 10-17 01:35:26.788: E/AndroidRuntime(5555): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) 10-17 01:35:26.788: E/AndroidRuntime(5555): at java.lang.ClassLoader.loadClass(ClassLoader.java:511) 10-17 01:35:26.788: E/AndroidRuntime(5555): at java.lang.ClassLoader.loadClass(ClassLoader.java:469) 10-17 01:35:26.788: E/AndroidRuntime(5555): ... 14 more 10-17 01:35:26.788: E/AndroidRuntime(5555): Suppressed: java.lang.ClassNotFoundException: android.support.v4.content.LocalBroadcastManager 10-17 01:35:26.788: E/AndroidRuntime(5555): at java.lang.Class.classForName(Native Method) 10-17 01:35:26.788: E/AndroidRuntime(5555): at java.lang.BootClassLoader.findClass(ClassLoader.java:781) 10-17 01:35:26.788: E/AndroidRuntime(5555): at java.lang.BootClassLoader.loadClass(ClassLoader.java:841) 10-17 01:35:26.788: E/AndroidRuntime(5555): at java.lang.ClassLoader.loadClass(ClassLoader.java:504) 10-17 01:35:26.788: E/AndroidRuntime(5555): ... 15 more 10-17 01:35:26.788: E/AndroidRuntime(5555): Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available 10-17 01:37:34.075: E/AndroidRuntime(5631): FATAL EXCEPTION: main 10-17 01:37:34.075: E/AndroidRuntime(5631): Process: com.example.broadcastreceive, PID: 5631 10-17 01:37:34.075: E/AndroidRuntime(5631): java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/content/LocalBroadcastManager; 10-17 01:37:34.075: E/AndroidRuntime(5631): at com.example.broadcastreceive.MainActivity.onCreate(MainActivity.java:34) 10-17 01:37:34.075: E/AndroidRuntime(5631): at android.app.Activity.performCreate(Activity.java:5990) 10-17 01:37:34.075: E/AndroidRuntime(5631): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106) 10-17 01:37:34.075: E/AndroidRuntime(5631): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278) 10-17 01:37:34.075: E/AndroidRuntime(5631): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387) 10-17 01:37:34.075: E/AndroidRuntime(5631): at android.app.ActivityThread.access$800(ActivityThread.java:151) 10-17 01:37:34.075: E/AndroidRuntime(5631): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303) 10-17 01:37:34.075: E/AndroidRuntime(5631): at android.os.Handler.dispatchMessage(Handler.java:102) 10-17 01:37:34.075: E/AndroidRuntime(5631): at android.os.Looper.loop(Looper.java:135) 10-17 01:37:34.075: E/AndroidRuntime(5631): at android.app.ActivityThread.main(ActivityThread.java:5254) 10-17 01:37:34.075: E/AndroidRuntime(5631): at java.lang.reflect.Method.invoke(Native Method) 10-17 01:37:34.075: E/AndroidRuntime(5631): at java.lang.reflect.Method.invoke(Method.java:372) 10-17 01:37:34.075: E/AndroidRuntime(5631): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) 10-17 01:37:34.075: E/AndroidRuntime(5631): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) 10-17 01:37:34.075: E/AndroidRuntime(5631): Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v4.content.LocalBroadcastManager" on path: DexPathList[[zip file "/data/app/com.example.broadcastreceive-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]] 10-17 01:37:34.075: E/AndroidRuntime(5631): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) 10-17 01:37:34.075: E/AndroidRuntime(5631): at java.lang.ClassLoader.loadClass(ClassLoader.java:511) 10-17 01:37:34.075: E/AndroidRuntime(5631): at java.lang.ClassLoader.loadClass(ClassLoader.java:469) 10-17 01:37:34.075: E/AndroidRuntime(5631): ... 14 more 10-17 01:37:34.075: E/AndroidRuntime(5631): Suppressed: java.lang.ClassNotFoundException: android.support.v4.content.LocalBroadcastManager 10-17 01:37:34.075: E/AndroidRuntime(5631): at java.lang.Class.classForName(Native Method) 10-17 01:37:34.075: E/AndroidRuntime(5631): at java.lang.BootClassLoader.findClass(ClassLoader.java:781) 10-17 01:37:34.075: E/AndroidRuntime(5631): at java.lang.BootClassLoader.loadClass(ClassLoader.java:841) 10-17 01:37:34.075: E/AndroidRuntime(5631): at java.lang.ClassLoader.loadClass(ClassLoader.java:504) 10-17 01:37:34.075: E/AndroidRuntime(5631): ... 15 more 10-17 01:37:34.075: E/AndroidRuntime(5631): Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available 这个Log不是很看得懂,但是发现java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/content/LocalBroadcastManager; 说是找不到我导入的那个类,于是我在应用库里找,但是能够看到这个类 ![图片说明](https://img-ask.csdn.net/upload/201610/17/1476682996_496913.png) 但是点进这个类,却出现Failed to create the part's controls![图片说明](https://img-ask.csdn.net/upload/201610/17/1476683131_13356.png) 之后我就不知道该怎么继续找问题了,有没有大神能指教一下!!!!!新手自学不容易:(
Android Studio中使用JUnit测试报错(ClassNotFoundException)
在Android Studio中编写测试类public class MyAppTest extends ActivityInstrumentationTestCase2报错: Exception in thread "main" java.lang.NoClassDefFoundError: junit/textui/ResultPrinter Caused by: java.lang.ClassNotFoundException: junit.textui.ResultPrinter 小的新手,求大神解答 T T
Android调用system/framework jar NoClassDefFoundError
01-04 10:54:31.118 I/art ( 5344): Rejecting re-init on previously-failed class java.lang.Class<org.simalliance.openmobileapi.service.SmartcardService$6> 01-04 10:54:31.118 I/art ( 5344): Rejecting re-init on previously-failed class java.lang.Class<org.simalliance.openmobileapi.service.SmartcardService$6> 01-04 10:54:31.118 I/OpenGLRenderer( 5317): Initialized EGL, version 1.4 01-04 10:54:31.128 I/art ( 5344): Rejecting re-init on previously-failed class java.lang.Class<org.simalliance.openmobileapi.service.SmartcardService$7> 01-04 10:54:31.128 D/AndroidRuntime( 5344): Shutting down VM 01-04 10:54:31.128 E/AndroidRuntime( 5344): FATAL EXCEPTION: main 01-04 10:54:31.128 E/AndroidRuntime( 5344): Process: org.simalliance.openmobileapi.service:remote, PID: 5344 01-04 10:54:31.128 E/AndroidRuntime( 5344): java.lang.NoClassDefFoundError: org.simalliance.openmobileapi.service.SmartcardService$7 01-04 10:54:31.128 E/AndroidRuntime( 5344): at org.simalliance.openmobileapi.service.SmartcardService.<init>(SmartcardService.java:1201) 01-04 10:54:31.128 E/AndroidRuntime( 5344): at java.lang.reflect.Constructor.newInstance(Native Method) 01-04 10:54:31.128 E/AndroidRuntime( 5344): at java.lang.Class.newInstance(Class.java:1606) 以上是报错的log,在调用的工程的Manifest中已经加了调用的路劲,在system/etc/permissions下也加了相应的xml,试过很多方法都还是同样报错,实在不知道是哪里的问题,求大神帮忙,很急。。。
java.lang.NoClassDefFoundError问大神 ,点击省列表后直接程序崩溃
![图片说明](https://img-ask.csdn.net/upload/201708/29/1503995348_668021.jpg)![图片说明](https://img-ask.csdn.net/upload/201708/29/1503995358_945679.jpg) package com.coolweather.app.activity; import java.io.IOException; import java.util.ArrayList; import java.util.List; import com.coolweather.app.R; import com.coolweather.app.WeatherActivity; import com.coolweather.app.db.CoolWeatherDB; import com.coolweather.app.model.City; import com.coolweather.app.model.County; import com.coolweather.app.model.Province; import com.coolweather.app.util.HttpCallbackListener; import com.coolweather.app.util.HttpUtil; import com.coolweather.app.util.Utility; import android.app.Activity; import android.app.ProgressDialog; import android.content.Intent; import android.os.Bundle; import android.text.TextUtils; import android.view.View; import android.view.Window; import android.widget.AdapterView; import android.widget.AdapterView.OnItemClickListener; import android.widget.ArrayAdapter; import android.widget.ListView; import android.widget.TextView; import android.widget.Toast; import okhttp3.Call; import okhttp3.Callback; import okhttp3.Response; public class ChooseAreaActivity extends Activity{ public static final int LEVEL_PROVINCE=0; public static final int LEVEL_CITY=1; public static final int LEVEL_COUNTY=2; @SuppressWarnings("deprecation") private ProgressDialog progressDialog; private TextView titleText; private ListView listView; private ArrayAdapter<String > adapter; private CoolWeatherDB coolWeatherDB; private List<String> dataList=new ArrayList<String>(); private List<Province> provinceList; private List<City> cityList; private List<County> countyList; private Province selectedProvince; private City selectedCity; private int currentLevel; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); requestWindowFeature(Window.FEATURE_CUSTOM_TITLE); setContentView(R.layout.choose_area); titleText=(TextView)findViewById(R.id.title_text); listView=(ListView)findViewById(R.id.list_view); adapter=new ArrayAdapter<String>(this,android.R.layout.simple_list_item_1,dataList); listView.setAdapter(adapter); coolWeatherDB=CoolWeatherDB.getInstance(this); listView.setOnItemClickListener(new OnItemClickListener() { @Override public void onItemClick(AdapterView<?>arg0,View view, int index,long arg3) { if(currentLevel==LEVEL_PROVINCE) { selectedProvince=provinceList.get(index); queryCity(); }else if(currentLevel==LEVEL_CITY) { selectedCity=cityList.get(index); queryCounty(); }else if(currentLevel==LEVEL_COUNTY) { String weatherId=countyList.get(index).getWeatherId(); Intent intent=new Intent(ChooseAreaActivity.this,WeatherActivity.class); intent.putExtra("weather_id",weatherId); startActivity(intent); finish(); } } }); queryProvince(); } private void queryProvince() { titleText.setText("中国"); provinceList=coolWeatherDB.loadProvinces(); if(provinceList.size()>0) { dataList.clear(); for(Province province:provinceList) { dataList.add(province.getProvinceName()); } adapter.notifyDataSetChanged(); listView.setSelection(0); currentLevel=LEVEL_PROVINCE; }else { String address="http://guolin.tech/api/china/"; queryFromServer(address,"province"); } } private void queryCity() { titleText.setText(selectedProvince.getProvinceName()); cityList=coolWeatherDB.loadCities(selectedProvince.getId()); if(cityList.size()>0) { dataList.clear(); for(City city:cityList) { dataList.add(city.getCityName()); } adapter.notifyDataSetChanged(); listView.setSelection(0); currentLevel=LEVEL_CITY; }else { int provinceCode=selectedProvince.getProvinceCode(); String address="http://guolin.tech/api/china/"+provinceCode; queryFromServer(address,"city"); } } private void queryCounty() { titleText.setText(selectedCity.getCityName()); countyList=coolWeatherDB.loadCounties(selectedCity.getId()); if(countyList.size()>0) { dataList.clear(); for(County county:countyList) { dataList.add(county.getCountyName()); } adapter.notifyDataSetChanged(); listView.setSelection(0); currentLevel=LEVEL_COUNTY; }else { int provinceCode=selectedProvince.getProvinceCode(); int cityCode=selectedCity.getCityCode(); String address="http://guolin.tech/api/china/"+provinceCode+"/"+cityCode; queryFromServer(address,"county"); } } private void queryFromServer(String address,final String type) { showProgressDialog(); HttpUtil.sendOkHttpRequest(address, new Callback() { @Override public void onResponse(Call call,Response response) throws IOException{ String responseText=response.body().string(); boolean result=false; if("province".equals(type)) { result=Utility.handleProvinceResponse(responseText); }else if("city".equals(type)) { result=Utility.handleCityResponse(responseText,selectedProvince.getId()); }else if("county".equals(type)) { result=Utility.handleCountyResponse(responseText, selectedCity.getId()); } if(result) { runOnUiThread(new Runnable() { @Override public void run() { closeProgressDialog(); if("province".equals(type)) { queryProvince(); }else if("city".equals(type)) { queryCity(); }else if("county".equals(type)) { queryCounty(); } } }); } } @Override public void onFailure(Call call,IOException e) { runOnUiThread(new Runnable() { @Override public void run() { closeProgressDialog(); Toast.makeText(ChooseAreaActivity.this,"加载失败",Toast.LENGTH_SHORT).show(); } }); } }); } private void showProgressDialog() { if(progressDialog==null) { progressDialog=new ProgressDialog(this); progressDialog.setMessage("正在加载"); progressDialog.setCanceledOnTouchOutside(false); } progressDialog.show(); } private void closeProgressDialog() { if(progressDialog!=null) { progressDialog.dismiss(); } } @Override public void onBackPressed() { if(currentLevel==LEVEL_COUNTY) { queryCity(); }else if(currentLevel==LEVEL_CITY) { queryProvince(); }else { finish(); } } }
Linux下安装Android Studio出错,求大神解答!
**JDK都配置好了,运行** ``` zoegreen@zoegreen-Lenovo-IdeaPad-Y470:/opt/android-studio/bin$ java -version java version "1.7.0_51" Java(TM) SE Runtime Environment (build 1.7.0_51-b13) Java HotSpot(TM) Server VM (build 24.51-b03, mixed mode) ``` **但在最后一步执行./studio.sh时不能打开studio,出现以下错误:** ``` zoegreen@zoegreen-Lenovo-IdeaPad-Y470:/opt/android-studio/bin$ sudo ./studio.sh [sudo] password for zoegreen: Start Failed: Internal error. Please report to https://code.google.com/p/android/issues java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.intellij.ide.Bootstrap.main(Bootstrap.java:39) at com.intellij.idea.Main.main(Main.java:83) Caused by: java.lang.UnsatisfiedLinkError: /usr/lib/jvm/jdk1.7.0_51/jre/lib/i386/xawt/libmawt.so: libXtst.so.6: 错误 ELF 类: ELFCLASS64 at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1851) at java.lang.Runtime.load0(Runtime.java:795) at java.lang.System.load(System.java:1062) at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1872) at java.lang.Runtime.loadLibrary0(Runtime.java:849) at java.lang.System.loadLibrary(System.java:1088) at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:67) at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:47) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Toolkit.loadLibraries(Toolkit.java:1646) at java.awt.Toolkit.<clinit>(Toolkit.java:1668) at java.awt.Cursor.<clinit>(Cursor.java:195) at javax.swing.text.html.HTMLEditorKit.<clinit>(HTMLEditorKit.java:624) at com.intellij.util.ui.UIUtil.<clinit>(UIUtil.java:96) at com.intellij.ide.plugins.PluginManager.start(PluginManager.java:71) ... 6 more Also, an UI exception occurred on attempt to show above message: java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit at java.awt.Component.<clinit>(Component.java:595) at com.intellij.idea.Main.showMessage(Main.java:231) at com.intellij.idea.Main.showMessage(Main.java:217) at com.intellij.idea.Main.main(Main.java:86) ```
Linux下安装Android Studio出错,求大神解答!
**JDK都配置好了,运行** ``` zoegreen@zoegreen-Lenovo-IdeaPad-Y470:/opt/android-studio/bin$ java -version java version "1.7.0_51" Java(TM) SE Runtime Environment (build 1.7.0_51-b13) Java HotSpot(TM) Server VM (build 24.51-b03, mixed mode) ``` **但在最后一步执行./studio.sh时不能打开studio,出现以下错误:** ``` zoegreen@zoegreen-Lenovo-IdeaPad-Y470:/opt/android-studio/bin$ ./studio.sh Start Failed: Internal error. Please report to https://code.google.com/p/android/issues java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.intellij.ide.Bootstrap.main(Bootstrap.java:39) at com.intellij.idea.Main.main(Main.java:83) Caused by: java.lang.UnsatisfiedLinkError: /usr/lib/jvm/jdk1.7.0_51/jre/lib/i386/xawt/libmawt.so: libXtst.so.6: 无法打开共享对象文件: 没有那个文件或目录 at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1851) at java.lang.Runtime.load0(Runtime.java:795) at java.lang.System.load(System.java:1062) at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1872) at java.lang.Runtime.loadLibrary0(Runtime.java:849) at java.lang.System.loadLibrary(System.java:1088) at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:67) at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:47) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Toolkit.loadLibraries(Toolkit.java:1646) at java.awt.Toolkit.<clinit>(Toolkit.java:1668) at java.awt.Cursor.<clinit>(Cursor.java:195) at javax.swing.text.html.HTMLEditorKit.<clinit>(HTMLEditorKit.java:624) at com.intellij.util.ui.UIUtil.<clinit>(UIUtil.java:96) at com.intellij.ide.plugins.PluginManager.start(PluginManager.java:71) ... 6 more Also, an UI exception occurred on attempt to show above message: java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit at java.awt.Component.<clinit>(Component.java:595) at com.intellij.idea.Main.showMessage(Main.java:231) at com.intellij.idea.Main.showMessage(Main.java:217) at com.intellij.idea.Main.main(Main.java:86) ```
cn.jpush.android.api.e 报错改怎么搞啊
有没有大神帮忙解决一下啊android studio java.lang.NoClassDefFoundError: cn.jpush.android.api.e 报错改怎么搞啊
eclipse 导入jar包出现Could not find class
我将我的项目打包成jar,导入后出现找不到class。求教大神们。 我的打包方法: 项目右键 -> export jar,然后操作如下图![图片说明](https://img-ask.csdn.net/upload/201509/17/1442479262_780522.png)然后一路往下。添加包是直接将jar拷贝到libs,build path添加。但是现在点击调用jar包里面的文件时出现如下错误 ``` 09-17 16:35:19.311: E/hahahahha(4247): 21fe82cdac8539317a53b87e1ba7873e 09-17 16:35:20.121: E/dalvikvm(4247): Could not find class 'org.videolan.vlc.audio.AudioServiceController$1', referenced from method org.videolan.vlc.audio.AudioServiceController.<init> 09-17 16:35:20.121: E/dalvikvm(4247): Could not find class 'org.videolan.vlc.interfaces.IAudioService', referenced from method org.videolan.vlc.audio.AudioServiceController.remoteProcedureCall 09-17 16:35:20.121: E/dalvikvm(4247): Could not find class 'org.videolan.vlc.audio.AudioService', referenced from method org.videolan.vlc.audio.AudioServiceController.bindAudioService 09-17 16:35:20.141: E/MyUncaughtHandler(4247): Could not execute method of the activity 09-17 16:35:20.141: E/MyUncaughtHandler(4247): java.lang.IllegalStateException: Could not execute method of the activity 09-17 16:35:20.141: E/MyUncaughtHandler(4247): at android.view.View$1.onClick(View.java:3725) 09-17 16:35:20.141: E/MyUncaughtHandler(4247): at android.view.View.performClick(View.java:4262) 09-17 16:35:20.141: E/MyUncaughtHandler(4247): at android.view.View$PerformClick.run(View.java:17351) 09-17 16:35:20.141: E/MyUncaughtHandler(4247): at android.os.Handler.handleCallback(Handler.java:615) 09-17 16:35:20.141: E/MyUncaughtHandler(4247): at android.os.Handler.dispatchMessage(Handler.java:92) 09-17 16:35:20.141: E/MyUncaughtHandler(4247): at android.os.Looper.loop(Looper.java:137) 09-17 16:35:20.141: E/MyUncaughtHandler(4247): at android.app.ActivityThread.main(ActivityThread.java:4935) 09-17 16:35:20.141: E/MyUncaughtHandler(4247): at java.lang.reflect.Method.invokeNative(Native Method) 09-17 16:35:20.141: E/MyUncaughtHandler(4247): at java.lang.reflect.Method.invoke(Method.java:511) 09-17 16:35:20.141: E/MyUncaughtHandler(4247): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038) 09-17 16:35:20.141: E/MyUncaughtHandler(4247): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805) 09-17 16:35:20.141: E/MyUncaughtHandler(4247): at dalvik.system.NativeStart.main(Native Method) 09-17 16:35:20.141: E/MyUncaughtHandler(4247): Caused by: java.lang.reflect.InvocationTargetException 09-17 16:35:20.141: E/MyUncaughtHandler(4247): at java.lang.reflect.Method.invokeNative(Native Method) 09-17 16:35:20.141: E/MyUncaughtHandler(4247): at java.lang.reflect.Method.invoke(Method.java:511) 09-17 16:35:20.141: E/MyUncaughtHandler(4247): at android.view.View$1.onClick(View.java:3720) 09-17 16:35:20.141: E/MyUncaughtHandler(4247): ... 11 more 09-17 16:35:20.141: E/MyUncaughtHandler(4247): Caused by: java.lang.NoClassDefFoundError: org.videolan.vlc.audio.AudioServiceController$1 09-17 16:35:20.141: E/MyUncaughtHandler(4247): at org.videolan.vlc.audio.AudioServiceController.<init>(AudioServiceController.java:52) 09-17 16:35:20.141: E/MyUncaughtHandler(4247): at org.videolan.vlc.audio.AudioServiceController.getInstance(AudioServiceController.java:70) 09-17 16:35:20.141: E/MyUncaughtHandler(4247): at ixz.fish_help_app.GrpDevListActivity.sys_vlc(GrpDevListActivity.java:1893) 09-17 16:35:20.141: E/MyUncaughtHandler(4247): ... 14 more ``` 调用的方法是 ``public void sys_vlc(View view) { AudioServiceController c = AudioServiceController.getInstance(); c.load(VLCURL, false); } ``` 求教这是怎么回事呢?
unity转apk出现错误,求大神解答
错误代码有两个 第一个 CommandInvokationFailure: Failed to build apk. C:/Program Files/Java/jdk-9\bin\java.exe -Xmx2048M -Dcom.android.sdkmanager.toolsdir="D:/Program Files/android-sdk-windows\tools" -Dfile.encoding=UTF8 -jar "D:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar" - stderr[ Exception in thread "main" java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at SDKMain.main(SDKMain.java:130) Caused by: java.lang.NoClassDefFoundError: sun/misc/BASE64Encoder at com.android.sdklib.internal.build.SignedJarBuilder.<init>(SignedJarBuilder.java:177) at com.android.sdklib.build.ApkBuilder.init(ApkBuilder.java:446) at com.android.sdklib.build.ApkBuilder.<init>(ApkBuilder.java:422) at com.android.sdklib.build.ApkBuilder.<init>(ApkBuilder.java:362) at UnityApkBuilder.<init>(UnityApkBuilder.java:214) at UnityApkBuilder.main(UnityApkBuilder.java:34) ... 5 more Caused by: java.lang.ClassNotFoundException: sun.misc.BASE64Encoder at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:466) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:563) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496) ... 11 more ] stdout[ ] exit code: 1 UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommandInternal (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommandSafe (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.HostView:OnGUI() 第二个 UnityEditor.BuildPlayerWindow+BuildMethodException: Build failed with errors. at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x001b9] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:162 at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x00050] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:83 UnityEditor.HostView:OnGUI()
我在使用openstreetmap 开发APP的时候,实现输入地名确定位置的功能时出现错误
MainActivity.java文件: ``` public class MainActivity extends Activity implements OnClickListener { private Button plan; private EditText name; private Button find; private Geocoder geocoder; private static final double lat = 39.98773; private static final double lng = 116.37742; public MapView mapView=null; private ItemizedOverlayWithBubble<ExtendedOverlayItem> poiMarkers; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); geocoder = new Geocoder(this); name = (EditText) findViewById(R.id.name); find = (Button) findViewById(R.id.find); plan=(Button) findViewById(R.id.plan); plan.setOnClickListener(this); find.setOnClickListener(this); Intent i= getIntent(); Bundle bundle = i.getExtras(); // StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build(); // StrictMode.setThreadPolicy(policy); mapView = (MapView) findViewById(R.id.MapView); initMapOverlays(mapView); routePlan(); poiSearch(); } ``` 其中我目前出现问题的部分是点击按钮获取输入文本实现位置确定代码如下: ``` public void onClick(View v) { // TODO Auto-generated method stub if (v.getId()==R.id.plan) { Intent intent=new Intent(MainActivity.this,PlanActivity.class); startActivity(intent); } if (v.getId()==R.id.find) { String keyword = name.getText().toString(); new UpdateSearch().execute(keyword); } } /* * 异步_地点查询 */ class UpdateSearch extends AsyncTask<String, Void, List<Address>>{ @Override protected List<Address> doInBackground(String... params) { // TODO Auto-generated method stub GeocoderNominatim coderNominatim = new GeocoderNominatim(MainActivity.this); List<Address> geoResults = null; try { geoResults = coderNominatim.getFromLocationName(params[0], 3); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } return geoResults; } @Override protected void onPostExecute(List<Address> result) { // TODO Auto-generated method stub super.onPostExecute(result); if (result.size() == 0) { Toast.makeText(MainActivity.this, "Not found.", Toast.LENGTH_SHORT).show(); } else { Address address = result.get(0); Bundle extras = address.getExtras(); BoundingBoxE6 bb = extras.getParcelable("boundingbox"); mapView.zoomToBoundingBox(bb); } } } ``` 在我输入地名“故宫”点击按钮之后程序闪退,部分日至如下: ``` 07-21 15:23:02.415: W/System(3021): ClassLoader referenced unknown path: /system/framework/com.qualcomm.qti.GBAHttpAuthentication.jar 07-21 15:23:23.520: E/AndroidRuntime(3021): FATAL EXCEPTION: AsyncTask #5 07-21 15:23:23.520: E/AndroidRuntime(3021): Process: com.example.osmdroiddemo, PID: 3021 07-21 15:23:23.520: E/AndroidRuntime(3021): java.lang.RuntimeException: An error occurred while executing doInBackground() 07-21 15:23:23.520: E/AndroidRuntime(3021): at android.os.AsyncTask$3.done(AsyncTask.java:309) 07-21 15:23:23.520: E/AndroidRuntime(3021): at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354) 07-21 15:23:23.520: E/AndroidRuntime(3021): at java.util.concurrent.FutureTask.setException(FutureTask.java:223) 07-21 15:23:23.520: E/AndroidRuntime(3021): at java.util.concurrent.FutureTask.run(FutureTask.java:242) 07-21 15:23:23.520: E/AndroidRuntime(3021): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234) 07-21 15:23:23.520: E/AndroidRuntime(3021): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) 07-21 15:23:23.520: E/AndroidRuntime(3021): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) 07-21 15:23:23.520: E/AndroidRuntime(3021): at java.lang.Thread.run(Thread.java:818) 07-21 15:23:23.520: E/AndroidRuntime(3021): Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/gson/JsonParser; 07-21 15:23:23.520: E/AndroidRuntime(3021): at org.osmdroid.bonuspack.location.GeocoderNominatim.getFromLocationName(GeocoderNominatim.java:230) 07-21 15:23:23.520: E/AndroidRuntime(3021): at org.osmdroid.bonuspack.location.GeocoderNominatim.getFromLocationName(GeocoderNominatim.java:271) 07-21 15:23:23.520: E/AndroidRuntime(3021): at com.example.osmdroiddemo.MainActivity$UpdateSearch.doInBackground(MainActivity.java:360) 07-21 15:23:23.520: E/AndroidRuntime(3021): at com.example.osmdroiddemo.MainActivity$UpdateSearch.doInBackground(MainActivity.java:1) 07-21 15:23:23.520: E/AndroidRuntime(3021): at android.os.AsyncTask$2.call(AsyncTask.java:295) 07-21 15:23:23.520: E/AndroidRuntime(3021): at java.util.concurrent.FutureTask.run(FutureTask.java:237) 07-21 15:23:23.520: E/AndroidRuntime(3021): ... 4 more 07-21 15:23:23.520: E/AndroidRuntime(3021): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.gson.JsonParser" on path: DexPathList[[zip file "/data/app/com.example.osmdroiddemo-1/base.apk"],nativeLibraryDirectories=[/data/app/com.example.osmdroiddemo-1/lib/arm, /vendor/lib, /system/lib]] 07-21 15:23:23.520: E/AndroidRuntime(3021): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) 07-21 15:23:23.520: E/AndroidRuntime(3021): at java.lang.ClassLoader.loadClass(ClassLoader.java:511) 07-21 15:23:23.520: E/AndroidRuntime(3021): at java.lang.ClassLoader.loadClass(ClassLoader.java:469) 07-21 15:23:23.520: E/AndroidRuntime(3021): ... 10 more 07-21 15:23:23.520: E/AndroidRuntime(3021): Suppressed: java.lang.ClassNotFoundException: com.google.gson.JsonParser 07-21 15:23:23.520: E/AndroidRuntime(3021): at java.lang.Class.classForName(Native Method) 07-21 15:23:23.520: E/AndroidRuntime(3021): at java.lang.BootClassLoader.findClass(ClassLoader.java:781) 07-21 15:23:23.520: E/AndroidRuntime(3021): at java.lang.BootClassLoader.loadClass(ClassLoader.java:841) 07-21 15:23:23.520: E/AndroidRuntime(3021): at java.lang.ClassLoader.loadClass(ClassLoader.java:504) 07-21 15:23:23.520: E/AndroidRuntime(3021): ... 11 more 07-21 15:23:23.520: E/AndroidRuntime(3021): Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available ``` 日志里提到的什么Json什么的实在是不知道咋去解决,国内关于osm开发的实战很少,所以有没有大神帮忙解决一下,有什么还需要我提供的请留言,谢谢!
android 引用aar 项目编译通过,但是运行跳转到aar里的Activity时就crash。
报的错: java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.jintf.testdemo/com.congtai.third2zebrasetsdk.activity.MainWebViewActivity}: java.lang.ClassNotFoundException: Didn't find class "com.congtai.third2zebrasetsdk.activity.MainWebViewActivity" on path: DexPathList[[zip file "/data/app/com.jintf.testdemo-1/base.apk", zip file "/data/app/com.jintf.testdemo-1/split_lib_dependencies_apk.apk", zip file "/data/app/com.jintf.testdemo-1/split_lib_slice_0_apk.apk", zip file "/data/app/com.jintf.testdemo-1/split_lib_slice_1_apk.apk", zip file "/data/app/com.jintf.testdemo-1/split_lib_slice_2_apk.apk", zip file "/data/app/com.jintf.testdemo-1/split_lib_slice_3_apk.apk", zip file "/data/app/com.jintf.testdemo-1/split_lib_slice_4_apk.apk", zip file "/data/app/com.jintf.testdemo-1/split_lib_slice_5_apk.apk", zip file "/data/app/com.jintf.testdemo-1/split_lib_slice_6_apk.apk", zip file "/data/app/com.jintf.testdemo-1/split_lib_slice_7_apk.apk", zip file "/data/app/com.jintf.testdemo-1/split_lib_slice_8_apk.apk", zip file "/data/app/com.jintf.testdemo-1/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/com.jintf.testdemo-1/lib/arm64, /system/lib64, /vendor/lib64, /system/vendor/lib64, /product/lib64]] Caused by: java.lang.ClassNotFoundException: Didn't find class "com.congtai.third2zebrasetsdk.activity.MainWebViewActivity" on path: DexPathList[[zip file "/data/app/com.jintf.testdemo-1/base.apk", zip file "/data/app/com.jintf.testdemo-1/split_lib_dependencies_apk.apk", zip file "/data/app/com.jintf.testdemo-1/split_lib_slice_0_apk.apk", zip file "/data/app/com.jintf.testdemo-1/split_lib_slice_1_apk.apk", zip file "/data/app/com.jintf.testdemo-1/split_lib_slice_2_apk.apk", zip file "/data/app/com.jintf.testdemo-1/split_lib_slice_3_apk.apk", zip file "/data/app/com.jintf.testdemo-1/split_lib_slice_4_apk.apk", zip file "/data/app/com.jintf.testdemo-1/split_lib_slice_5_apk.apk", zip file "/data/app/com.jintf.testdemo-1/split_lib_slice_6_apk.apk", zip file "/data/app/com.jintf.testdemo-1/split_lib_slice_7_apk.apk", zip file "/data/app/com.jintf.testdemo-1/split_lib_slice_8_apk.apk", zip file "/data/app/com.jintf.testdemo-1/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/com.jintf.testdemo-1/lib/arm64, /system/lib64, /vendor/lib64, /system/vendor/lib64, /product/lib64]] Suppressed: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/congtai/third2zebrasetsdk/activity/BaseActivity; at java.lang.VMClassLoader.findLoadedClass(Native Method) at java.lang.ClassLoader.findLoadedClass(ClassLoader.java:742) at java.lang.ClassLoader.loadClass(ClassLoader.java:362) ... 12 more Caused by: java.lang.ClassNotFoundException: com.congtai.third2zebrasetsdk.activity.BaseActivity at java.lang.VMClassLoader.findLoadedClass(Native Method) at java.lang.ClassLoader.findLoadedClass(ClassLoader.java:742) at java.lang.ClassLoader.loadClass(ClassLoader.java:362) 07-28 14:32:45.991 21579-21579/com.jintf.testdemo E/AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:312) ... 15 more Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/congtai/third2zebrasetsdk/activity/BaseRxActivity; ... 15 more Caused by: java.lang.ClassNotFoundException: com.congtai.third2zebrasetsdk.activity.BaseRxActivity at java.lang.VMClassLoader.findLoadedClass(Native Method) at java.lang.ClassLoader.findLoadedClass(ClassLoader.java:742) at java.lang.ClassLoader.loadClass(ClassLoader.java:362) at java.lang.ClassLoader.loadClass(ClassLoader.java:312) ... 15 more Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/congtai/third2zebrasetsdk/activity/RxActivity; ... 15 more Caused by: java.lang.ClassNotFoundException: com.congtai.third2zebrasetsdk.activity.RxActivity at java.lang.VMClassLoader.findLoadedClass(Native Method) at java.lang.ClassLoader.findLoadedClass(ClassLoader.java:742) at java.lang.ClassLoader.loadClass(ClassLoader.java:362) at java.lang.ClassLoader.loadClass(ClassLoader.java:312) ... 15 more Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/trello/rxlifecycle/ActivityLifecycleProvider; ... 15 more Caused by: java.lang.ClassNotFoundException: Didn't find class "com.trello.rxlifecycle.ActivityLifecycleProvider" on path: DexPathList[[zip file "/data/app/com.jintf.testdemo-1/base.apk", zip file "/data/app/com.jintf.testdemo-1/split_lib_dependencies_apk.apk", zip file "/data/app/com.jintf.testdemo-1/split_lib_slice_0_apk.apk", zip file "/data/app/com.jintf.testdemo-1/split_lib_slice_1_apk.apk", zip file "/data/app/com.jintf.testdemo-1/split_lib_slice_2_apk.apk", zip file "/data/app/com.jintf.testdemo-1/split_lib_slice_3_apk.apk", zip file "/data/app/com.jintf.testdemo-1/split_lib_slice_4_apk.apk", zip file "/data/app/com.jintf.testdemo-1/split_lib_slice_5_apk.apk", zip file "/data/app/com.jintf.testdemo-1/split_lib_slice_6_apk.apk", zip file "/data/app/com.jintf.testdemo-1/split_lib_slice_7_apk.apk", zip file "/data/app/com.jintf.testdemo-1/split_lib_slice_8_apk.apk", zip file "/data/app/com.jintf.testdemo-1/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/com.jintf.testdemo-1/lib/arm64, /system/lib64, /vendor/lib64, /system/vendor/lib64, /product/lib64]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) at java.lang.ClassLoader.loadClass(ClassLoader.java:380) at java.lang.ClassLoader.loadClass(ClassLoader.java:312) 首先,这个aar是做好的一个项目生成的aar,生成、导入都没问题,编译通过,然后在当前项目中也能检索到aar里面的activity等资源,然后我想跳转到aar里的Activity 即MainWebViewActivity里面,如下: Intent intent = new Intent(android.content.Intent.ACTION_VIEW); // 这里的packetname 一定记住填写 调用方的packetname 因为 aar最终会被合并到调用方的manifest文件 intent.setComponent(new ComponentName(appName, "com.congtai.third2zebrasetsdk.activity.MainWebViewActivity")); // intent.setClassName(appName,//packagename // "com.congtai.third2zebrasetsdk.activity.MainWebViewActivity");//classname// intent.putExtra("url",DRIVESET_URL+"?channel="+channel+"&brand="+brand+"&appName="+appName); startActivity(intent); 网上说的几种方式都试过,在mainfast文件里也注册了这个activity,还是会crash,报的Unable toinstantiate activity componentInfo,我真搞不懂了,急求大神指导~~~
NoClassDefFoundError: Failed resolution of: Landroid/support/v4/animation/AnimatorCompatHelper;
最近想买一直报这个问题 希望有大神帮我解决一下 导致崩溃 在多种地方都会显示这个错误 也没有提示哪行带拿错了 java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/animation/AnimatorCompatHelper; at android.support.v7.widget.DefaultItemAnimator.resetAnimation(DefaultItemAnimator.java:515) at android.support.v7.widget.DefaultItemAnimator.animateAdd(DefaultItemAnimator.java:218) at android.support.v7.widget.SimpleItemAnimator.animateAppearance(SimpleItemAnimator.java:114) at android.support.v7.widget.RecyclerView.animateAppearance(RecyclerView.java:3804) at android.support.v7.widget.RecyclerView$4.processAppeared(RecyclerView.java:521) at android.support.v7.widget.ViewInfoStore.process(ViewInfoStore.java:247) at android.support.v7.widget.RecyclerView.dispatchLayoutStep3(RecyclerView.java:3653) at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:3323) at android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3844) at android.view.View.layout(View.java:16673) at android.view.ViewGroup.layout(ViewGroup.java:5476) at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743) at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586) at android.widget.LinearLayout.onLayout(LinearLayout.java:1495) at android.view.View.layout(View.java:16673) at android.view.ViewGroup.layout(ViewGroup.java:5476) at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743) at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586) at android.widget.LinearLayout.onLayout(LinearLayout.java:1495) at android.view.View.layout(View.java:16673) at android.view.ViewGroup.layout(ViewGroup.java:5476) at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743) at android.widget.LinearLayout.layoutHorizontal(LinearLayout.java:1732) at android.widget.LinearLayout.onLayout(LinearLayout.java:1497) at android.view.View.layout(View.java:16673) at android.view.ViewGroup.layout(ViewGroup.java:5476) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336) at android.widget.FrameLayout.onLayout(FrameLayout.java:273) at android.view.View.layout(View.java:16673) at android.view.ViewGroup.layout(ViewGroup.java:5476) at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743) at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586) at android.widget.LinearLayout.onLayout(LinearLayout.java:1495) at android.view.View.layout(View.java:16673) at android.view.ViewGroup.layout(ViewGroup.java:5476) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336) at android.widget.FrameLayout.onLayout(FrameLayout.java:273) at android.view.View.layout(View.java:16673) at android.view.ViewGroup.layout(ViewGroup.java:5476) at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743) at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586) at android.widget.LinearLayout.onLayout(LinearLayout.java:1495) at android.view.View.layout(View.java:16673) at android.view.ViewGroup.layout(ViewGroup.java:5476) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336) at android.widget.FrameLayout.onLayout(FrameLayout.java:273) at com.android.internal.policy.PhoneWindow$DecorView.onLayout(PhoneWindow.java:2727) at android.view.View.layout(View.java:16673) at android.view.ViewGroup.layout(ViewGroup.java:5476) at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2304) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2033) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1209) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6330) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:862) at android.view.Choreographer.doCallbacks(Choreographer.java:674) at android.view.Choreographer.doFrame(Choreographer.java:610) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:848) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loo
求教,为什么添加recyclerview后报错
求教,为什么添加recyclerview后报 java.lang.NoClassDefFoundError: com.parse.ParsePlugins$Android ,添加recyclerview后就影响Parse-1.9.4。jar,搞了好久求大神帮忙看看
AndroidStudio运行报错,求助大神~~!
# 求解决啊~~~弄了一晚上了,找了各种帖子,各种方法都没有解决,求助大神~~! Internal Error. Please report to https://code.google.com/p/android/issues com.intellij.ide.plugins.PluginManager$StartupAbortedException: Fatal error initializing 'com.intellij.debugger.DebuggerManager' at com.intellij.ide.plugins.PluginManager.handleComponentError(PluginManager.java:256) at com.intellij.openapi.components.impl.PlatformComponentManagerImpl.handleInitComponentError(PlatformComponentManagerImpl.java:43) at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:540) at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponents(ComponentManagerImpl.java:123) at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:107) at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:90) at com.intellij.openapi.project.impl.ProjectImpl.init(ProjectImpl.java:282) at com.intellij.openapi.project.impl.ProjectManagerImpl.initProject(ProjectManagerImpl.java:231) at com.intellij.openapi.project.impl.ProjectManagerImpl.access$300(ProjectManagerImpl.java:68) at com.intellij.openapi.project.impl.ProjectManagerImpl$3.run(ProjectManagerImpl.java:311) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:446) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54) at com.intellij.openapi.progress.impl.CoreProgressManager.executeNonCancelableSection(CoreProgressManager.java:170) at com.intellij.openapi.project.impl.ProjectManagerImpl.getDefaultProject(ProjectManagerImpl.java:306) at com.android.tools.idea.sdk.IdeSdks.getAndroidSdkPath(IdeSdks.java:90) at com.android.tools.idea.startup.GradleSpecificInitializer.setupSdks(GradleSpecificInitializer.java:282) at com.android.tools.idea.startup.GradleSpecificInitializer.run(GradleSpecificInitializer.java:114) at com.android.tools.idea.AndroidInitialConfigurator.activateAndroidStudioInitializerExtensions(AndroidInitialConfigurator.java:198) at com.android.tools.idea.AndroidInitialConfigurator.<init>(AndroidInitialConfigurator.java:65) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:193) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:220) at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:53) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:248) at com.intellij.util.pico.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:59) at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:499) at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponents(ComponentManagerImpl.java:123) at com.intellij.openapi.application.impl.ApplicationImpl.access$801(ApplicationImpl.java:92) at com.intellij.openapi.application.impl.ApplicationImpl$12.run(ApplicationImpl.java:500) at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:142) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:446) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:127) at com.intellij.openapi.application.impl.ApplicationImpl.createComponents(ApplicationImpl.java:516) at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:107) at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:458) at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:450) at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:197) at com.intellij.idea.MainImpl$1$1$1.run(MainImpl.java:52) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:366) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Caused by: java.lang.NoClassDefFoundError: com/sun/jdi/Value at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at com.sun.proxy.$Proxy47.<clinit>(Unknown Source) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.reflect.Proxy.newProxyInstance(Unknown Source) at com.intellij.util.EventDispatcher.<init>(EventDispatcher.java:75) at com.intellij.util.EventDispatcher.create(EventDispatcher.java:42) at com.intellij.debugger.impl.DebuggerStateManager.<init>(DebuggerStateManager.java:29) at com.intellij.debugger.impl.DebuggerManagerImpl$MyDebuggerStateManager.<init>(DebuggerManagerImpl.java:606) at com.intellij.debugger.impl.DebuggerManagerImpl$MyDebuggerStateManager.<init>(DebuggerManagerImpl.java:606) at com.intellij.debugger.impl.DebuggerManagerImpl.<init>(DebuggerManagerImpl.java:81) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:193) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:220) at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:53) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:248) at com.intellij.util.pico.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:59) at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:499) ... 56 more Caused by: java.lang.ClassNotFoundException: com.sun.jdi.Value at com.intellij.util.lang.UrlClassLoader.findClass(UrlClassLoader.java:207) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 80 more
百度地图demo 运行时报错
下载百度地图的参考demo,改了key值后,运行直接报java.lang.NoClassDefFoundError: com.baidu.mapapi.SDKInitializer的错。。。想知道是哪里配置错误吗,求大神解答
非常诡异的重复包编译问题,求大神解答。
同样的项目,在我朋友的电脑上导入能完美运行,我就为这个编译问题死磕了一个星期。。 是这样的,项目导入后刚开始有部分代码有乱码现象(已改),clean后项目不报错了,满心欢喜的开始运行,告知我还有错没解决,这时候项目上出现个红叉,项目里面没有,我看日志输出是这样的: Unable to execute dex: Multiple dex files define Lcom/google/zxing/BarcodeFormat; Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Lcom/google/zxing/BarcodeFormat; 然后我网上找答案,说是我有重复的包被引入,我检查了很久发现可能是build path里面的libaries和order and export里面的Android private libary和Android Dpendencies重复,于是我尝试的把order and export 里的这两个包的勾去掉。 编译成功!!!!!但是运行却闪退了。logcat日志输出如下: java.lang.NoClassDefFoundError........ 很奇怪,既然是这样,我觉得那我这两个包不能去掉,但是不去掉我又实在找不到哪里有重复的,而且我同学导的一点问题都没有。 跪求答复。。。
android client使用 apache 第三方远程访问包TelnetClient,一直出错请众大神帮帮忙
error: dalvikvm Could not find class 'org.apache.commons.net.telnet.TelnetClient', referenced from method com.test.telnet.TelnetUtil.<init> AndroidRuntime FATAL EXCEPTION: Thread-1263 AndroidRuntime java.lang.NoClassDefFoundError: org.apache.commons.net.telnet.TelnetClient AndroidRuntime at com.test.telnet.TelnetUtil.<init>(TelnetUtil.java:9) AndroidRuntime at com.test.main.MainActivity$2.run(MainActivity.java:46) AndroidRuntime at java.lang.Thread.run(Thread.java:841) source: package com.test.telnet; import java.io.InputStream; import java.io.PrintStream; import org.apache.commons.net.telnet.TelnetClient; public class TelnetUtil { private TelnetClient telnet = new TelnetClient(); private InputStream in; private PrintStream out; private String port; private String ip; public TelnetUtil(String ip, String port){ this.ip=ip; this.port=port; } /** * @return boolean 连接成功返回true,否则返回false */ public boolean connect() { boolean isConnect = true; try { telnet.connect(ip, Integer.parseInt(port)); in = telnet.getInputStream(); out = new PrintStream(telnet.getOutputStream()); } catch (Exception e) { isConnect = false; e.printStackTrace(); return isConnect; } return isConnect; } protected void disconnect() { try { telnet.disconnect(); } catch (Exception e) { e.printStackTrace(); } } public String readUtil() { try { StringBuffer sb = new StringBuffer(); char ch=0; while (true) { ch = (char) in.read(); sb.append(ch); if(sb.length()>=512){ //----buffer size = 512*2 byte = 1 kB--- //synchronized block return sb.toString(); } } } catch (Exception e) { e.printStackTrace(); } return null; } private void write(String value) { try { out.println(value); out.flush(); } catch (Exception e) { e.printStackTrace(); } } /** * 向服务器发送命令 * @param string */ public String sendCommand(String command) { try { write(command); } catch (Exception e) { e.printStackTrace(); } return null; } } 线程内调用: TelnetUtil tu = new TelnetUtil("218.56.40.136","1602"); tu.connect(); tu.sendCommand("client"); res=tu.readUtil();
推荐 130 个令你眼前一亮的网站,总有一个用得着
总结了大学生活两年来,发现的 130 余个黑科技网站,总有一个会让你眼前一亮,赶紧收藏!
在中国程序员是青春饭吗?
今年,我也32了 ,为了不给大家误导,咨询了猎头、圈内好友,以及年过35岁的几位老程序员……舍了老脸去揭人家伤疤……希望能给大家以帮助,记得帮我点赞哦。 目录: 你以为的人生 一次又一次的伤害 猎头界的真相 如何应对互联网行业的「中年危机」 一、你以为的人生 刚入行时,拿着傲人的工资,想着好好干,以为我们的人生是这样的: 等真到了那一天,你会发现,你的人生很可能是这样的: ...
我在支付宝花了1分钟,查到了女朋友的开房记录!
在大数据时代下,不管你做什么都会留下蛛丝马迹,只要学会把各种软件运用到极致,捉奸简直轻而易举。今天就来给大家分享一下,什么叫大数据抓出轨。据史料证明,马爸爸年轻时曾被...
程序员请照顾好自己,周末病魔差点一套带走我。
程序员在一个周末的时间,得了重病,差点当场去世,还好及时挽救回来了。
卸载 x 雷某度!GitHub 标星 1.5w+,从此我只用这款全能高速下载工具!
作者 | Rocky0429 来源 | Python空间 大家好,我是 Rocky0429,一个喜欢在网上收集各种资源的蒟蒻… 网上资源眼花缭乱,下载的方式也同样千奇百怪,比如 BT 下载,磁力链接,网盘资源等等等等,下个资源可真不容易,不一样的方式要用不同的下载软件,因此某比较有名的 x 雷和某度网盘成了我经常使用的工具。 作为一个没有钱的穷鬼,某度网盘几十 kb 的下载速度让我...
20道你必须要背会的微服务面试题,面试一定会被问到
写在前面: 在学习springcloud之前大家一定要先了解下,常见的面试题有那块,然后我们带着问题去学习这个微服务技术,那么就会更加理解springcloud技术。如果你已经学了springcloud,那么在准备面试的时候,一定要看看看这些面试题。 文章目录1、什么是微服务?2、微服务之间是如何通讯的?3、springcloud 与dubbo有哪些区别?4、请谈谈对SpringBoot 和S...
讲真,这两个IDE插件,可以让你写出质量杠杠的代码
周末躺在床上看《拯救大兵瑞恩》 周末在闲逛的时候,发现了两个优秀的 IDE 插件,据说可以提高代码的质量,我就安装了一下,试了试以后发现,确实很不错,就推荐给大家。 01、Alibaba Java 代码规范插件 《阿里巴巴 Java 开发手册》,相信大家都不会感到陌生,其 IDEA 插件的下载次数据说达到了 80 万次,我今天又贡献了一次。嘿嘿。 该项目的插件地址: https://github....
为什么猝死的都是程序员,基本上不见产品经理猝死呢?
相信大家时不时听到程序员猝死的消息,但是基本上听不到产品经理猝死的消息,这是为什么呢? 我们先百度搜一下:程序员猝死,出现将近700多万条搜索结果: 搜索一下:产品经理猝死,只有400万条的搜索结果,从搜索结果数量上来看,程序员猝死的搜索结果就比产品经理猝死的搜索结果高了一倍,而且从下图可以看到,首页里面的五条搜索结果,其实只有两条才是符合条件。 所以程序员猝死的概率真的比产品经理大,并不是错...
毕业5年,我问遍了身边的大佬,总结了他们的学习方法
我问了身边10个大佬,总结了他们的学习方法,原来成功都是有迹可循的。
推荐10个堪称神器的学习网站
每天都会收到很多读者的私信,问我:“二哥,有什么推荐的学习网站吗?最近很浮躁,手头的一些网站都看烦了,想看看二哥这里有什么新鲜货。” 今天一早做了个恶梦,梦到被老板辞退了。虽然说在我们公司,只有我辞退老板的份,没有老板辞退我这一说,但是还是被吓得 4 点多都起来了。(主要是因为我掌握着公司所有的核心源码,哈哈哈) 既然 4 点多起来,就得好好利用起来。于是我就挑选了 10 个堪称神器的学习网站,推...
这些软件太强了,Windows必装!尤其程序员!
Windows可谓是大多数人的生产力工具,集娱乐办公于一体,虽然在程序员这个群体中都说苹果是信仰,但是大部分不都是从Windows过来的,而且现在依然有很多的程序员用Windows。 所以,今天我就把我私藏的Windows必装的软件分享给大家,如果有一个你没有用过甚至没有听过,那你就赚了????,这可都是提升你幸福感的高效率生产力工具哦! 走起!???? NO、1 ScreenToGif 屏幕,摄像头和白板...
阿里面试,面试官没想到一个ArrayList,我都能跟他扯半小时
我是真的没想到,面试官会这样问我ArrayList。
曾经优秀的人,怎么就突然不优秀了。
职场上有很多辛酸事,很多合伙人出局的故事,很多技术骨干被裁员的故事。说来模板都类似,曾经是名校毕业,曾经是优秀员工,曾经被领导表扬,曾经业绩突出,然而突然有一天,因为种种原因,被裁员了,...
大学四年因为知道了这32个网站,我成了别人眼中的大神!
依稀记得,毕业那天,我们导员发给我毕业证的时候对我说“你可是咱们系的风云人物啊”,哎呀,别提当时多开心啦????,嗯,我们导员是所有导员中最帅的一个,真的???? 不过,导员说的是实话,很多人都叫我大神的,为啥,因为我知道这32个网站啊,你说强不强????,这次是绝对的干货,看好啦,走起来! PS:每个网站都是学计算机混互联网必须知道的,真的牛杯,我就不过多介绍了,大家自行探索,觉得没用的,尽管留言吐槽吧???? 社...
良心推荐,我珍藏的一些Chrome插件
上次搬家的时候,发了一个朋友圈,附带的照片中不小心暴露了自己的 Chrome 浏览器插件之多,于是就有小伙伴评论说分享一下我觉得还不错的浏览器插件。 我下面就把我日常工作和学习中经常用到的一些 Chrome 浏览器插件分享给大家,随便一个都能提高你的“生活品质”和工作效率。 Markdown Here Markdown Here 可以让你更愉快的写邮件,由于支持 Markdown 直接转电子邮...
看完这篇HTTP,跟面试官扯皮就没问题了
我是一名程序员,我的主要编程语言是 Java,我更是一名 Web 开发人员,所以我必须要了解 HTTP,所以本篇文章就来带你从 HTTP 入门到进阶,看完让你有一种恍然大悟、醍醐灌顶的感觉。 最初在有网络之前,我们的电脑都是单机的,单机系统是孤立的,我还记得 05 年前那会儿家里有个电脑,想打电脑游戏还得两个人在一个电脑上玩儿,及其不方便。我就想为什么家里人不让上网,我的同学 xxx 家里有网,每...
2020 年,大火的 Python 和 JavaScript 是否会被取而代之?
Python 和 JavaScript 是目前最火的两大编程语言,但是2020 年,什么编程语言将会取而代之呢? 作者 |Richard Kenneth Eng 译者 |明明如月,责编 | 郭芮 出品 | CSDN(ID:CSDNnews) 以下为译文: Python 和 JavaScript 是目前最火的两大编程语言。然而,他们不可能永远屹立不倒。最终,必将像其他编程语言一...
史上最全的IDEA快捷键总结
现在Idea成了主流开发工具,这篇博客对其使用的快捷键做了总结,希望对大家的开发工作有所帮助。
阿里程序员写了一个新手都写不出的低级bug,被骂惨了。
这种新手都不会范的错,居然被一个工作好几年的小伙子写出来,差点被当场开除了。
谁是华为扫地僧?
是的,华为也有扫地僧!2020年2月11-12日,“养在深闺人不知”的华为2012实验室扫地僧们,将在华为开发者大会2020(Cloud)上,和大家见面。到时,你可以和扫地僧们,吃一个洋...
Flutter 会不会被苹果限制其发展?
这个可能性是存在的,而且不止是 flutter、react-native 、weex 、uni-app 、taro 、Hippy等都存在这个风险,虽然有些框架对比起 flutter 其他框架存在时间稍长,但是这不可否认它们一直都存在这个风向。 只要不是平台自己的亲儿子,那么肯定存在被限制发展的风险,所以这件事上是风险和收益之间的博弈,这是一个“后妈和前任之间的太极。” 先说现状 如今各大平台,如:...
Idea 中最常用的10款插件(提高开发效率),一定要学会使用!
学习使用一些插件,可以提高开发效率。对于我们开发人员很有帮助。这篇博客介绍了开发中使用的插件。
AI 没让人类失业,搞 AI 的人先失业了
最近和几个 AI 领域的大佬闲聊 根据他们讲的消息和段子 改编出下面这个故事 如有雷同 都是巧合 1. 老王创业失败,被限制高消费 “这里写我跑路的消息实在太夸张了。” 王葱葱哼笑一下,把消息分享给群里。 阿杰也看了消息,笑了笑。在座几位也都笑了。 王葱葱是个有名的人物,21岁那年以全额奖学金进入 KMU 攻读人工智能博士,累计发表论文 40 余篇,个人技术博客更是成为深度学习领域内风向标。 ...
2020年,冯唐49岁:我给20、30岁IT职场年轻人的建议
点击“技术领导力”关注∆每天早上8:30推送 作者|Mr.K 编辑| Emma 来源|技术领导力(ID:jishulingdaoli) 前天的推文《冯唐:职场人35岁以后,方法论比经验重要》,收到了不少读者的反馈,觉得挺受启发。其实,冯唐写了不少关于职场方面的文章,都挺不错的。可惜大家只记住了“春风十里不如你”、“如何避免成为油腻腻的中年人”等不那么正经的文章。 本文整理了冯...
最全最强!世界大学计算机专业排名总结!
我正在参与CSDN200进20,希望得到您的支持,扫码续投票5次。感谢您! (为表示感谢,您投票后私信我,我把我总结的人工智能手推笔记和思维导图发送给您,感谢!) 目录 泰晤士高等教育世界大学排名 QS 世界大学排名 US News 世界大学排名 世界大学学术排名(Academic Ranking of World Universities) 泰晤士高等教育世界大学排名 中国共...
作为一名大学生,如何在B站上快乐的学习?
B站是个宝,谁用谁知道???? 作为一名大学生,你必须掌握的一项能力就是自学能力,很多看起来很牛X的人,你可以了解下,人家私底下一定是花大量的时间自学的,你可能会说,我也想学习啊,可是嘞,该学习啥嘞,不怕告诉你,互联网时代,最不缺的就是学习资源,最宝贵的是啥? 你可能会说是时间,不,不是时间,而是你的注意力,懂了吧! 那么,你说学习资源多,我咋不知道,那今天我就告诉你一个你必须知道的学习的地方,人称...
那些年,我们信了课本里的那些鬼话
教材永远都是有错误的,从小学到大学,我们不断的学习了很多错误知识。 斑羚飞渡 在我们学习的很多小学课文里,有很多是错误文章,或者说是假课文。像《斑羚飞渡》: 随着镰刀头羊的那声吼叫,整个斑羚群迅速分成两拨,老年斑羚为一拨,年轻斑羚为一拨。 就在这时,我看见,从那拨老斑羚里走出一只公斑羚来。公斑羚朝那拨年轻斑羚示意性地咩了一声,一只半大的斑羚应声走了出来。一老一少走到伤心崖,后退了几步,突...
一个程序在计算机中是如何运行的?超级干货!!!
强烈声明:本文很干,请自备茶水!???? 开门见山,咱不说废话! 你有没有想过,你写的程序,是如何在计算机中运行的吗?比如我们搞Java的,肯定写过这段代码 public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World!"); } ...
【蘑菇街技术部年会】程序员与女神共舞,鼻血再次没止住。(文末内推)
蘑菇街技术部的年会,别开生面,一样全是美女。
Linux必懂知识大总结(补)
关机 1. 数据同步写入磁盘 sync 为了加快对磁盘上文件的读写速度,位于内存中的文件数据不会立即同步到磁盘上,因此关机之前需要先进行 sync 同步操作。 2. shutdown # /sbin/shutdown [-krhc] [时间] [警告讯息] -k : 不会关机,只是发送警告讯息,通知所有在线的用户 -r : 将系统的服务停掉后就重新启动 -h : 将系统的服务停掉后就...
那个在阿里养猪的工程师,5年了……
简介: 在阿里,走过1825天,没有趴下,依旧斗志满满,被称为“五年陈”。他们会被授予一枚戒指,过程就叫做“授戒仪式”。今天,咱们听听阿里的那些“五年陈”们的故事。 下一个五年,猪圈见! 我就是那个在养猪场里敲代码的工程师,一年多前我和20位工程师去了四川的猪场,出发前总架构师慷慨激昂的说:同学们,中国的养猪产业将因为我们而改变。但到了猪场,发现根本不是那么回事:要个WIFI,没有;...
立即提问