Android 测试app时闪退 应该怎么解决

在用 checkboxes 跟 button 点击时它就闪退了,有这两个错误出现
E/MemoryLeakMonitorManager: MemoryLeakMonitor.jar is not exist!
E/Minikin: Could not get cmap table size!
还有用的是 华为荣耀10 的真机测试
这要怎么解决的
谢谢

1个回答

试试看这个 https://www.jianshu.com/p/7611aab4f54c 也是华为的手机

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
android APP连接mysql时,APP闪退
安卓程序连接MySQL一直不成功,本地连接可以。我是用手机调试的,点击接mysql按钮时,APP闪退。在网上找了好多方法都不行。求看看什么问题 错误日志如下: 2019-08-25 08:25:33.377 5570-5570/mark.zhang E/AndroidRuntime: FATAL EXCEPTION: main Process: mark.zhang, PID: 5570 java.lang.IllegalStateException: Could not execute method for android:onClick at android.view.View$DeclaredOnClickListener.onClick(View.java:5692) at android.view.View.performClick(View.java:6663) at android.view.View.performClickInternal(View.java:6635) at android.view.View.access$3100(View.java:794) at android.view.View$PerformClick.run(View.java:26199) at android.os.Handler.handleCallback(Handler.java:907) at android.os.Handler.dispatchMessage(Handler.java:105) at android.os.Looper.loop(Looper.java:216) at android.app.ActivityThread.main(ActivityThread.java:7625) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987) Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Method.invoke(Native Method) at android.view.View$DeclaredOnClickListener.onClick(View.java:5687) at android.view.View.performClick(View.java:6663)  at android.view.View.performClickInternal(View.java:6635)  at android.view.View.access$3100(View.java:794)  at android.view.View$PerformClick.run(View.java:26199)  at android.os.Handler.handleCallback(Handler.java:907)  at android.os.Handler.dispatchMessage(Handler.java:105)  at android.os.Looper.loop(Looper.java:216)  at android.app.ActivityThread.main(ActivityThread.java:7625)  at java.lang.reflect.Method.invoke(Native Method)  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987)  Caused by: java.lang.BootstrapMethodError: Exception from call site #39 bootstrap method at com.mysql.cj.jdbc.AbandonedConnectionCleanupThread.<clinit>(AbandonedConnectionCleanupThread.java:58) at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:453) at java.lang.Class.forName(Class.java:378) at com.mysql.cj.jdbc.NonRegisteringDriver.<clinit>(NonRegisteringDriver.java:99) at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:453) at java.lang.Class.forName(Class.java:378) at mark.zhang.Util.openConnection(Util.java:16) at mark.zhang.Main.onConn(Main.java:30) at java.lang.reflect.Method.invoke(Native Method)  at android.view.View$DeclaredOnClickListener.onClick(View.java:5687)  at android.view.View.performClick(View.java:6663)  at android.view.View.performClickInternal(View.java:6635)  at android.view.View.access$3100(View.java:794)  at android.view.View$PerformClick.run(View.java:26199)  at android.os.Handler.handleCallback(Handler.java:907)  at android.os.Handler.dispatchMessage(Handler.java:105)  at android.os.Looper.loop(Looper.java:216)  at android.app.ActivityThread.main(ActivityThread.java:7625)  at java.lang.reflect.Method.invoke(Native Method)  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987)  Caused by: java.lang.ClassCastException: Bootstrap method returned null at com.mysql.cj.jdbc.AbandonedConnectionCleanupThread.<clinit>(AbandonedConnectionCleanupThread.java:58)  at java.lang.Class.classForName(Native Method)  at java.lang.Class.forName(Class.java:453)  at java.lang.Class.forName(Class.java:378)  at com.mysql.cj.jdbc.NonRegisteringDriver.<clinit>(NonRegisteringDriver.java:99)  at java.lang.Class.classForName(Native Method)  at java.lang.Class.forName(Class.java:453)  at java.lang.Class.forName(Class.java:378)  at mark.zhang.Util.openConnection(Util.java:16)  at mark.zhang.Main.onConn(Main.java:30)  at java.lang.reflect.Method.invoke(Native Method)  at android.view.View$DeclaredOnClickListener.onClick(View.java:5687)  at android.view.View.performClick(View.java:6663)  at android.view.View.performClickInternal(View.java:6635)  at android.view.View.access$3100(View.java:794)  at android.view.View$PerformClick.run(View.java:26199)  at android.os.Handler.handleCallback(Handler.java:907)  at android.os.Handler.dispatchMessage(Handler.java:105)  at android.os.Looper.loop(Looper.java:216)  at android.app.ActivityThread.main(ActivityThread.java:7625)  at java.lang.reflect.Method.invoke(Native Method)  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987)  2019-08-25 08:25:33.398 5570-5570/mark.zhang I/Process: Sending signal. PID: 5570 SIG: 9 源码如下: 这是util.java ``` package mark.zhang; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; public class Util { public static Connection openConnection(String url, String user, String password) { Connection conn = null; try { final String DRIVER_NAME = "com.mysql.cj.jdbc.Driver"; Class.forName(DRIVER_NAME); conn = DriverManager.getConnection(url, user, password); } catch (ClassNotFoundException e) { conn = null; } catch (SQLException e) { conn = null; } return conn; } public static void query(Connection conn, String sql) { if (conn == null) { return; } Statement statement = null; ResultSet result = null; try { statement = conn.createStatement(); result = statement.executeQuery(sql); if (result != null && result.first()) { int idColumnIndex = result.findColumn("id"); int nameColumnIndex = result.findColumn("name"); System.out.println("id\t\t" + "name"); while (!result.isAfterLast()) { System.out.print(result.getString(idColumnIndex) + "\t\t"); System.out.println(result.getString(nameColumnIndex)); result.next(); } } } catch (SQLException e) { e.printStackTrace(); } finally { try { if (result != null) { result.close(); result = null; } if (statement != null) { statement.close(); statement = null; } } catch (SQLException sqle) { } } } public static boolean execSQL(Connection conn, String sql) { boolean execResult = false; if (conn == null) { return execResult; } Statement statement = null; try { statement = conn.createStatement(); if (statement != null) { execResult = statement.execute(sql); } } catch (SQLException e) { execResult = false; } return execResult; } } ``` 这是main.java ``` package mark.zhang; import com.mysql.cj.jdbc.AbandonedConnectionCleanupThread; import java.sql.Connection; import java.sql.SQLException; import androidx.appcompat.app.AppCompatActivity; import android.app.Activity; import android.os.Bundle; import android.view.View; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; public class Main extends Activity { private static final String REMOTE_IP = "223.104.64.237"; private static final String URL = "jdbc:mysql://223.104.64.237:3306/mydb?useSSL=false&serverTimezone=GMT&characterEncoding=utf-8&autoReconnect=true"; private static final String USER = "root"; private static final String PASSWORD = "123"; private Connection conn; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); } public void onConn(View view) { conn = Util.openConnection(URL, USER, PASSWORD); /* final Thread thread = new Thread(new Runnable() { @Override public void run() { // 反复尝试连接,直到连接成功后退出循环 while (!Thread.interrupted()) { try { Thread.sleep(100); // 每隔0.1秒尝试连接 } catch (InterruptedException e) { System.out.println("链接数据库"); } // 2.设置好IP/端口/数据库名/用户名/密码等必要的连接信息 String url="jdbc:mysql://223.104.64.237:3306/mydb?useSSL=false&serverTimezone=Hongkong&characterEncoding=utf-8&autoReconnect=true"; String user = "root"; String password = "123"; // 3.连接JDBC try { Class.forName("com.mysql.cj.jdbc.Driver"); Connection conn = DriverManager.getConnection(url,user,password); System.out.println("远程连接成功!"); conn.close(); return; } catch (SQLException e) { System.out.println("远程连接失败!"); } catch (ClassNotFoundException e){ } } } }); thread.start();*/ } public void onInsert(View view) { String sql = "insert into mytable values(9, 'hanmeimei')"; Util.execSQL(conn, sql); } public void onDelete(View view) { String sql = "delete from mytable where name='mark'"; Util.execSQL(conn, sql); } public void onUpdate(View view) { String sql = "update mytable set name='李磊' where name='韩美'"; Util.execSQL(conn, sql); } public void onQuery(View view) { System.out.println("All users info:"); Util.query(conn, "select * from mytable"); } @Override protected void onDestroy() { super.onDestroy(); if (conn != null) { try { conn.close(); } catch (SQLException e) { conn = null; } finally { conn = null; } } } } ```
某些机型运行android app闪退
公司开发了一个android app,在大部分手机上能正常使用,但是在三星某些机子上点击某个功能的时候出现闪退,请问大致是什么原因?
android app 安装在荣耀6x出现闪退,抓捕的错误如下
> debug运行后,在初始化的setContentView(R.layout.activity_mlogin);方法出现如下错误: # java.lang.RuntimeException: Unable to start activity ComponentInfo{com.medex.Activity.release/com.medex.Activity.miha.MLoginActivity}: java.lang.NullPointerException: Attempt to read from field 'android.os.MessageQueue android.os.Looper.mQueue' on a null object reference at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2793) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2864) at android.app.ActivityThread.-wrap12(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1567) at android.os.Handler.dispatchMessage(Handler.java:105) at android.os.Looper.loop(Looper.java:156) at android.app.ActivityThread.main(ActivityThread.java:6523) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:941) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:831) # Caused by: java.lang.NullPointerException: Attempt to read from field 'android.os.MessageQueue android.os.Looper.mQueue' on a null object reference at android.os.Handler.<init>(Handler.java:236) at android.view.accessibility.AccessibilityManager$MyHandler.<init>(AccessibilityManager.java:686) at android.view.accessibility.AccessibilityManager.<init>(AccessibilityManager.java:221) at android.view.accessibility.AccessibilityManager.getInstance(AccessibilityManager.java:205) at android.view.View.setFlags(View.java:11440) at android.view.ViewGroup.initViewGroup(ViewGroup.java:590) at android.view.ViewGroup.<init>(ViewGroup.java:579) at android.view.ViewGroup.<init>(ViewGroup.java:574) at android.view.ViewGroup.<init>(ViewGroup.java:570) at android.view.ViewGroup.<init>(ViewGroup.java:566) at android.widget.FrameLayout.<init>(FrameLayout.java:78) at com.android.internal.policy.DecorView.<init>(DecorView.java:247) at com.android.internal.policy.PhoneWindow.generateDecor(PhoneWindow.java:2401) at com.android.internal.policy.PhoneWindow.installDecor(PhoneWindow.java:2804) at com.android.internal.policy.PhoneWindow.setContentView(PhoneWindow.java:443) at com.android.internal.policy.HwPhoneWindow.setContentView(HwPhoneWindow.java:280) at android.app.Activity.setContentView(Activity.java:2515) at com.medex.Activity.Base.a.onCreate(Unknown Source) at android.app.Activity.performCreate(Activity.java:6910) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2746) ... 9 more
[Android Studio ] APP真机调试闪退怎么解决
日志如下 05-14 16:48:07.304 4611-4611/? E/HAL: load: couldn't find symbol HMI 05-14 16:48:07.305 4611-4611/? E/memtrack: Couldn't load memtrack module (Invalid argument) 05-14 16:48:07.305 4611-4611/? E/android.os.Debug: failed to load memtrack module: -22 05-14 16:48:07.347 4611-4611/? E/HAL: load: id=fm != hmi->id=fm 05-14 16:48:07.347 4611-4611/? E/fm_if.c: find the id:fm and begins to open the devices 05-14 16:48:08.007 4349-4658/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=74:c3:30:40:b8:8c RSSI=-33 "eternity"WPA_PSK 05-14 16:48:09.006 4349-4658/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=74:c3:30:40:b8:8c RSSI=-31 "eternity"WPA_PSK 05-14 16:48:10.009 4349-4658/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=74:c3:30:40:b8:8c RSSI=-31 "eternity"WPA_PSK 05-14 16:48:11.010 4349-4658/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=74:c3:30:40:b8:8c RSSI=-31 "eternity"WPA_PSK
Android Studio代码哪儿有错吗?为什么运行APP老是闪退
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <LinearLayout android:layout_width="match_parent" android:layout_height="180dp" android:orientation="horizontal"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentStart="true" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" android:layout_marginStart="150dp" android:layout_marginLeft="150dp" android:layout_marginTop="100dp" android:text="用户登陆" android:textColor="@android:color/holo_blue_dark" android:textSize="30sp" /> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="90dp" android:orientation="horizontal"> <TextView android:id="@+id/textView1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="@+id/editText1" android:layout_alignParentLeft="true" android:layout_alignParentStart="true" android:layout_marginLeft="35dp" android:layout_marginStart="35dp" android:text="用户名" android:textSize="25sp" /> <EditText android:id="@+id/editText1" android:layout_width="200dp" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_alignParentStart="true" android:layout_marginLeft="40dp" android:layout_marginStart="40dp" android:text="" /> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="90dp" android:orientation="horizontal"> <TextView android:id="@+id/textView2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="@+id/editText2" android:layout_alignParentLeft="true" android:layout_alignParentStart="true" android:layout_marginLeft="35dp" android:layout_marginStart="35dp" android:text="密码" android:textSize="25sp" /> <EditText android:id="@+id/editText2" android:layout_width="200dp" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_alignParentStart="true" android:layout_marginLeft="66dp" android:layout_marginStart="66dp" android:text="" /> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="90dp" android:orientation="horizontal"> <Button android:id="@+id/button5" android:layout_width="100dp" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_alignParentStart="true" android:layout_marginLeft="80dp" android:layout_marginStart="80dp" android:text="登陆" /> <Button android:id="@+id/button4" android:layout_width="100dp" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_alignParentStart="true" android:layout_marginLeft="45dp" android:layout_marginStart="45dp" android:text="注册" /> </LinearLayout> </LinearLayout>
android关于调用系统相机拍照后APP闪退的问题
最近在写一个小APP,就是调用系统相机拍照,然后保存在本地相册,代码没有显示bug,但是在调试时出现了拍照后闪退的问题,我的测试机是小米2S,MIUI 7系统,android5.0.X的,拍照的照片能保存在本地,但是在拍照后点击确定后软件就闪退了,这是我的代码 protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); mButton = (Button) findViewById(R.id.button1); mButton.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { // 调用系统相机 Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); intent.addCategory(Intent.CATEGORY_DEFAULT); // 取当前时间为照片名 String name = DateFormat.format("yyyyMMdd_hhmmss", Calendar.getInstance(Locale.CHINA)) + ".jpg"; Log.d("onactivity", "mPictureFile:" + name); picPath = getPhotopath() + name; // 通过文件创建一个uri中 Uri imageUri = Uri.fromFile(new File(picPath)); // 保存uri对应的照片于指定路径 intent.putExtra(MediaStore.EXTRA_OUTPUT, imageUri); startActivityForResult(intent, OPEN_RESULT2); } }); } /** * 获取原图片存储路径 * * @return */ @SuppressLint("SimpleDateFormat") private String getPhotopath() { // 照片全路径 String fileName = ""; // 文件夹路径 String pathUrl = Environment.getExternalStorageDirectory() + "/DCIM/Camera/"; File file = new File(pathUrl); file.mkdirs();// 创建文件夹 fileName = pathUrl + fileName; return fileName; } ``` ```
Android 关于蓝牙的app打开闪退 显示NullPointerException
我把中间的部分省略了,应该是onResume()那里出了问题,请问应该如何解决 ![图片说明](https://img-ask.csdn.net/upload/201608/12/1470975352_92854.jpg) ``` import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.UUID; import android.app.Activity; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; import android.bluetooth.BluetoothSocket; import android.content.Intent; import android.hardware.Sensor; import android.hardware.SensorEvent; import android.hardware.SensorEventListener; import android.hardware.SensorManager; import android.os.Bundle; import android.os.Handler; import android.os.Looper; import android.os.Message; import android.util.Log; import android.view.Display; import android.view.Gravity; import android.view.MotionEvent; import android.view.View; import android.view.Window; import android.view.ViewGroup.MarginLayoutParams; import android.view.animation.Animation; import android.view.animation.AnimationUtils; import android.widget.Button; import android.widget.FrameLayout; import android.widget.ImageButton; import android.widget.ImageView; import android.widget.SeekBar; import android.widget.SeekBar.OnSeekBarChangeListener; import android.widget.TextView; import android.widget.Toast; public class Control extends Activity implements Runnable { String tag = "MyControl"; public boolean BluetoothFlag = true; public int requestCode = 1, num1 = 0, num2 = 0,num3 = 0,runState = 0; private float HCenterX,HCenterY; private float RangeCenterX,RangeCenterY,RangeR = 100; private static final UUID MY_UUID = UUID.fromString("00001101-0000-1000-8000-00805F9B34FB"); private ImageView iv1; private ImageView iv2; private ImageView iv3; private ImageButton ib1; FrameLayout.LayoutParams LP_iv2; private BluetoothAdapter mBluetoothAdapter = null; private BluetoothSocket btSocket = null; private static String address = null;//要连接的蓝牙设备MAC地址 private OutputStream outStream = null; private InputStream InStream = null; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); requestWindowFeature(Window.FEATURE_NO_TITLE); setContentView(R.layout.control); iv1 = (ImageView) findViewById(R.id.ct_iv1); iv2 = (ImageView) findViewById(R.id.ct_iv2); iv3 = (ImageView) findViewById(R.id.ct_iv3); ib1 = (ImageButton) findViewById(R.id.ct_ib1); ib1.setOnClickListener(new ClickEvent()); Animation Aiv1_zoom = AnimationUtils.loadAnimation(this, R.drawable.iv1_zoom); iv1.startAnimation(Aiv1_zoom); LP_iv2 = (FrameLayout.LayoutParams) iv2.getLayoutParams();//获取控件布局参数 Display display = getWindowManager().getDefaultDisplay(); RangeCenterX = display.getWidth() / 2; RangeCenterY = display.getHeight() / 2; mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); if (mBluetoothAdapter == null) { Toast.makeText(this, "您的设备不支持蓝牙", Toast.LENGTH_LONG).show(); Log.i(tag, "设备不支持蓝牙"); } } ………… public void sendCmd(String message) { try { outStream = btSocket.getOutputStream(); } catch (IOException e) { e.printStackTrace(); } byte[] msgBuffer; msgBuffer = message.getBytes(); try { outStream.write(msgBuffer); } catch (IOException e) { e.printStackTrace(); } } @Override public void onStart() { super.onStart(); } @Override public void onResume() { super.onResume(); DisplayToast("正在尝试连接蓝牙设备,请稍后····"); if(address == null){ address = "00:12:06:01:51:26"; }else {} BluetoothDevice device = mBluetoothAdapter.getRemoteDevice(address); try { btSocket = device.createRfcommSocketToServiceRecord(MY_UUID);//我觉得是这的问题 } catch (IOException e) { DisplayToast("套接字创建失败!"); } DisplayToast("成功连接蓝牙设备!"); mBluetoothAdapter.cancelDiscovery(); try { btSocket.connect();// Debug到这应用退出 DisplayToast("连接成功建立,可以开始操控了~~~"); myText.setText("蓝牙设备已准备好了!"); sendCmd("Connect OK!"); BluetoothFlag = true; MyThread bluetoothThread = new MyThread(); bluetoothThread.start(); } catch (IOException e) { try { btSocket.close(); } catch (IOException e2) { DisplayToast("连接没有建立,无法关闭套接字!"); } } } @Override public void onPause() { super.onPause(); if (outStream != null) { try { outStream.flush(); } catch (IOException e) { e.printStackTrace(); } } try { btSocket.close(); BluetoothFlag = false;// 关闭蓝牙读线程 } catch (IOException e2) { } } @Override public void onStop() { super.onStop(); } @Override public void onDestroy() { mBluetoothAdapter.disable(); super.onDestroy(); } @Override public void run() { } @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); if (requestCode == 1 & resultCode == 1) { address = data.getStringExtra("MAC"); } } private class ClickEvent implements View.OnClickListener { @Override public void onClick(View v) { switch (v.getId()) { case R.id.ct_ib1 : { num2 = 1; Intent intent = new Intent(Control.this, BlueTooth.class); startActivityForResult(intent, requestCode); } } } } class MyHandler extends Handler { @Override public void handleMessage(Message msg) { Bundle data = msg.getData(); Log.d(tag, "in the thread:age=" + data.getInt("age") + " name=" + data.getString("name")); try { InStream = btSocket.getInputStream(); } catch (IOException e) { e.printStackTrace(); } byte[] tmp = new byte[5]; try { InStream.read(tmp, 0, 5); Log.i(tag, new String(tmp, 0, 5) + " "); } catch (IOException e) { e.printStackTrace(); } } MyHandler(Looper looper) { super(looper); } MyHandler() {} } public class MyThread extends Thread { MyThread() { BluetoothFlag = true; try { InStream = btSocket.getInputStream(); } catch (IOException e) { e.printStackTrace(); } } @Override public void run() { byte[] tmp = null; while (BluetoothFlag) { try { demo(); } catch (Exception e) { e.printStackTrace(); } } } public String demo() throws IOException, InterruptedException { byte[] buffer = new byte[1]; int length = 0; byte bb = 0; String line = null; Log.i(tag, "demo"); ArrayList<Byte> list = new ArrayList<Byte>(); while (InStream.read(buffer) == -1) { Thread.sleep(100); Log.i(tag, "-->" + InStream.read(buffer)); } return null; } } } ```
程序在Android5.0闪退
程序在Android4.4可以运行,但在5.0闪退,,报错如下 java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.qiqiluobotou.zuodeqi.slopeslide-2/base.apk"],nativeLibraryDirectories=[/data/app/com.qiqiluobotou.zuodeqi.slopeslide-2/lib/x86, /vendor/lib, /system/lib]]] couldn't find "libBaiduMapSDK_v3_1_0.so" at java.lang.Runtime.loadLibrary(Runtime.java:367) at java.lang.System.loadLibrary(System.java:1076) at com.baidu.mapapi.a.<clinit>(Unknown Source) at com.baidu.mapapi.SDKInitializer.initialize(Unknown Source) at com.baidu.mapapi.SDKInitializer.initialize(Unknown Source) 哪位大神能解决,,跪拜
使用Linux编译android APP 运行闪退,在AS编译可以运行
log信息: java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.zhaoll.hsetupwizard/com.example.zhaoll.hsetupwizard.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "com.example.zhaoll.hsetupwizard.MainActivity" on path: DexPathList[[zip file "/data/app/com.example.zhaoll.hsetupwizard-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]] 有人说是项目的v4库和工程引用的v4库不一致导致的,初学者不知道该怎么让他们一致,求大神说具体点
新手自学Android中,在学到Intent向另一个页面传值时.app闪退
在学到Intent向另一个页面传值时,app退出。第二个页面我也写了的。也在AndroidManifest.xml中注册了这个活动的。想知道为什么会闪退,是没找到页面还是为什么
真机调试Android时项目闪退
05-27 13:31:06.763 666-2896/? E/ANDR-PERF-OPTSHANDLER: Warning: Core control support not present for lock_min_cores on cluster 0 for this target 05-27 13:31:06.763 666-2896/? E/ANDR-PERF-RESOURCEQS: Failed to apply optimization [4, 0] 05-27 13:31:06.764 666-2896/? E/ANDR-PERF-OPTSHANDLER: Warning: Core control support not present for lock_max_cores on cluster 0 for this target 05-27 13:31:06.764 666-2896/? E/ANDR-PERF-RESOURCEQS: Failed to apply optimization [4, 1] 05-27 13:31:06.765 666-2896/? E/ANDR-PERF-OPTSHANDLER: Warning: Core control support not present for lock_min_cores on cluster 0 for this target 05-27 13:31:06.765 666-2896/? E/ANDR-PERF-RESOURCEQS: Failed to apply optimization [4, 0] 05-27 13:31:06.766 802-1226/? E/msm8974_platform: platform_check_backends_match: Invalid snd_device = 05-27 13:31:06.767 1447-8893/? E/ActivityTrigger: activityStartTrigger: not whiteListedcom.bjut.zx.seetv/com.bjut.zx.seetv.MainActivity/1 05-27 13:31:06.769 1447-8893/? E/ActivityTrigger: activityResumeTrigger: not whiteListedcom.bjut.zx.seetv/com.bjut.zx.seetv.MainActivity/1 05-27 13:31:06.774 1447-2342/? E/ActivityTrigger: activityResumeTrigger: not whiteListedcom.bjut.zx.seetv/com.bjut.zx.seetv.MainActivity/1 [ 05-27 13:31:06.775 771: 771 I/ ] pid is 1447, sp is 799 05-27 13:31:06.816 1447-2550/? E/ActivityThread: Failed to find provider info for cn.nubia.launcher.fancyIcon 05-27 13:31:06.829 819-1676/? E/Netd: exec() res=0, status=256 for /system/bin/iptables -w -W 10000 -w -D OUTPUT -o rmnet+ -m owner --uid-owner 10229 -j REJECT 05-27 13:31:06.846 17658-17658/? E/AndroidRuntime: FATAL EXCEPTION: main Process: com.bjut.zx.seetv, PID: 17658 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.bjut.zx.seetv/com.bjut.zx.seetv.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity. at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2953) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3014) at android.app.ActivityThread.-wrap13(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1647) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:177) at android.app.ActivityThread.main(ActivityThread.java:6651) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:912) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:802) Caused by: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity. at android.support.v7.app.AppCompatDelegateImplV9.createSubDecor(AppCompatDelegateImplV9.java:354) at android.support.v7.app.AppCompatDelegateImplV9.ensureSubDecor(AppCompatDelegateImplV9.java:323) at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:284) at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:139) at com.bjut.zx.seetv.MainActivity.onCreate(MainActivity.java:13) at android.app.Activity.performCreate(Activity.java:6748) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1132) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2906) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3014)  at android.app.ActivityThread.-wrap13(ActivityThread.java)  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1647)  at android.os.Handler.dispatchMessage(Handler.java:102)  at android.os.Looper.loop(Looper.java:177)  at android.app.ActivityThread.main(ActivityThread.java:6651)  at java.lang.reflect.Method.invoke(Native Method)  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:912)  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:802)  05-27 13:31:06.846 819-1676/? E/Netd: exec() res=0, status=256 for /system/bin/ip6tables -w -W 10000 -w -D OUTPUT -o rmnet+ -m owner --uid-owner 10229 -j REJECT 05-27 13:31:06.861 819-1676/? E/Netd: exec() res=0, status=256 for /system/bin/iptables -w -W 10000 -w -D OUTPUT -o wlan0 -m owner --uid-owner 10229 -j REJECT 05-27 13:31:06.867 819-1676/? E/Netd: exec() res=0, status=256 for /system/bin/ip6tables -w -W 10000 -w -D OUTPUT -o wlan0 -m owner --uid-owner 10229 -j REJECT 05-27 13:31:06.874 1447-3027/? E/ActivityTrigger: activityResumeTrigger: not whiteListedcn.nubia.launcher/com.android.launcher3.Launcher/26 05-27 13:31:06.882 1447-2550/? E/ActivityThread: Failed to find provider info for cn.nubia.launcher.fancyIcon 05-27 13:31:07.019 819-1676/? E/Netd: exec() res=0, status=256 for /system/bin/iptables -w -W 10000 -w -D OUTPUT -o rmnet+ -m owner --uid-owner 10082 -j REJECT 05-27 13:31:07.025 819-1676/? E/Netd: exec() res=0, status=256 for /system/bin/ip6tables -w -W 10000 -w -D OUTPUT -o rmnet+ -m owner --uid-owner 10082 -j REJECT 05-27 13:31:07.033 819-1676/? E/Netd: exec() res=0, status=256 for /system/bin/iptables -w -W 10000 -w -D OUTPUT -o wlan0 -m owner --uid-owner 10082 -j REJECT 05-27 13:31:07.039 819-1676/? E/Netd: exec() res=0, status=256 for /system/bin/ip6tables -w -W 10000 -w -D OUTPUT -o wlan0 -m owner --uid-owner 10082 -j REJECT 05-27 13:31:07.775 666-2896/? E/ANDR-PERF-OPTSHANDLER: perf_lock_rel: updated /sys/class/scsi_host/host0/../../../clkscale_enable with 1 return value 2 05-27 13:31:11.776 666-2896/? E/ANDR-PERF-RESOURCEQS: Failed to reset optimization [3, 0]
app安装后点击闪退,log如下,请问是什么问题啊,麻烦各位指教一下
08-29 21:37:56.458 4962-4962/? I/art: Late-enabling -Xcheck:jni 08-29 21:37:56.618 4962-4962/com.example.coolweather W/System: ClassLoader referenced unknown path: /data/app/com.example.coolweather-1/lib/arm64 08-29 21:37:56.674 4962-4962/com.example.coolweather W/art: 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 08-29 21:37:56.745 4962-4962/com.example.coolweather D/AndroidRuntime: Shutting down VM 08-29 21:37:56.745 4962-4962/com.example.coolweather E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.coolweather, PID: 4962 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.coolweather/com.example.coolweather.MainActivity}: java.lang.NumberFormatException: null at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2695) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2768) at android.app.ActivityThread.-wrap12(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1481) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6153) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:758) Caused by: java.lang.NumberFormatException: null at java.lang.Integer.parseInt(Integer.java:483) at java.lang.Integer.parseInt(Integer.java:556) at org.litepal.parser.LitePalParser.usePullParse(LitePalParser.java:160) at org.litepal.parser.LitePalParser.parseLitePalConfiguration(LitePalParser.java:102) at org.litepal.parser.LitePalAttr.loadLitePalXMLConfiguration(LitePalAttr.java:99) at org.litepal.parser.LitePalAttr.getInstance(LitePalAttr.java:90) at org.litepal.tablemanager.Connector.buildConnection(Connector.java:104) at org.litepal.tablemanager.Connector.getWritableDatabase(Connector.java:63) at org.litepal.tablemanager.Connector.getDatabase(Connector.java:87) at org.litepal.crud.DataSupport.findAll(DataSupport.java:1027) at org.litepal.crud.DataSupport.findAll(DataSupport.java:994) at com.example.coolweather.ChooseAreaFragment.queryProvinces(ChooseAreaFragment.java:115) at com.example.coolweather.ChooseAreaFragment.onActivityCreated(ChooseAreaFragment.java:106) at android.support.v4.app.Fragment.performActivityCreated(Fragment.java:2201) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1326) at android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1528) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1595) at android.support.v4.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:2900) at android.support.v4.app.FragmentController.dispatchActivityCreated(FragmentController.java:201) at android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:603) at android.support.v7.app.AppCompatActivity.onStart(AppCompatActivity.java:178) at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1249) at android.app.Activity.performStart(Activity.java:6722) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2658) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2768)  at android.app.ActivityThread.-wrap12(ActivityThread.java)  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1481)  at android.os.Handler.dispatchMessage(Handler.java:102)  at android.os.Looper.loop(Looper.java:154)  at android.app.ActivityThread.main(ActivityThread.java:6153)  at java.lang.reflect.Method.invoke(Native Method)  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:758)  08-29 21:37:56.752 4962-4962/? I/Process: Sending signal. PID: 4962 SIG: 9
萌新求助Android Studio工程编译没问题,运行app就闪退,我试了别的代码,只要修改了xml文件也会闪退。
不管真机还是模拟机,都会闪退,就是一个很简单的程序修改了xml文件也会闪退,我也不知道是代码的问题还是我的AS的问题。 如果有大神能帮我看看代码也可以(一个基于AS的吉他调音软件)编译都通过了,求帮忙(现金奖励)
Android开发:临时路径更改后一调用摄像头APP就闪退
![图片说明](https://img-ask.csdn.net/upload/201710/24/1508847425_643266.png) 如图中所示,我将getExternalCache()改成getCache()后再点击调用摄像头的按钮时候软件就闪退了(在此之前是可以正常调用摄像头的,且只改动了这一处)。 最大的问题是我改回getExternalCache()后重新调试软件依旧会闪退。无法调用摄像头
cordova ios app ios12系统闪退问题
cordova ios app ios12系统闪退问题怎么处理, ios11和以下的系统 app 都是正常运行, 12系统就出现了闪退,编译app过程没有出现错误, 编译正常, 安装都手机后就直接闪退。 cordova版本8.1.2, xcode版本10.1。
手机app自己写的录音功能,按住录音时总是闪退
自己写的手机app录音功能,在按住按钮录音时总是提示失败,然后就程序闪退,找不到原因是哪里了!!闪退是打包后出现的毛病,如果不打包直接运行到手机上就没事!!求大神指教
修改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
有一个安卓APP,在安卓手机上运行正常,在小米3平板上真机测试时,会出现闪退的情况
我描述一下:WiFi小车,手机端APP。在安卓手机上运行正常,可以通过WiFi信号接收图像发送控制信号。当在小米3平板上真机测试时,可以进入界面看到采回来的图像,但是当点击界面上的控制图片时,就会出现闪退。部分logcat如下,请前辈们指点指点。
android searchView.setOnQueryTextListener 导致闪退
menu/main.xml: ``` <?xml version="1.0" encoding="utf-8"?> <menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> <item android:id="@+id/action_search" android:icon="@android:drawable/ic_menu_search" app:showAsAction="always|collapseActionView" app:actionViewClass="android.support.v7.widget.SearchView" android:title="Search"/> </menu> ``` MainActivity.java: ``` java @Override public boolean onCreateOptionsMenu(Menu menu) { getMenuInflater().inflate( R.menu.main, menu); final MenuItem myActionMenuItem = menu.findItem( R.id.action_search); SearchView searchView = (SearchView) myActionMenuItem.getActionView(); searchView.setOnQueryTextListener(new SearchView.OnQueryTextListener() { @Override public boolean onQueryTextSubmit(String query) { return false; } @Override public boolean onQueryTextChange(String s) { return false; } }); return super.onCreateOptionsMenu(menu); } ``` 添加searchView.setOnQueryTextListener()这句后app就闪退,不添加这句时正常。
爬虫福利二 之 妹子图网MM批量下载
爬虫福利一:27报网MM批量下载    点击 看了本文,相信大家对爬虫一定会产生强烈的兴趣,激励自己去学习爬虫,在这里提前祝:大家学有所成! 目标网站:妹子图网 环境:Python3.x 相关第三方模块:requests、beautifulsoup4 Re:各位在测试时只需要将代码里的变量 path 指定为你当前系统要保存的路径,使用 python xxx.py 或IDE运行即可。
字节跳动视频编解码面经
三四月份投了字节跳动的实习(图形图像岗位),然后hr打电话过来问了一下会不会opengl,c++,shador,当时只会一点c++,其他两个都不会,也就直接被拒了。 七月初内推了字节跳动的提前批,因为内推没有具体的岗位,hr又打电话问要不要考虑一下图形图像岗,我说实习投过这个岗位不合适,不会opengl和shador,然后hr就说秋招更看重基础。我当时想着能进去就不错了,管他哪个岗呢,就同意了面试...
开源一个功能完整的SpringBoot项目框架
福利来了,给大家带来一个福利。 最近想了解一下有关Spring Boot的开源项目,看了很多开源的框架,大多是一些demo或者是一个未成形的项目,基本功能都不完整,尤其是用户权限和菜单方面几乎没有完整的。 想到我之前做的框架,里面通用模块有:用户模块,权限模块,菜单模块,功能模块也齐全了,每一个功能都是完整的。 打算把这个框架分享出来,供大家使用和学习。 为什么用框架? 框架可以学习整体...
Java学习的正确打开方式
在博主认为,对于入门级学习java的最佳学习方法莫过于视频+博客+书籍+总结,前三者博主将淋漓尽致地挥毫于这篇博客文章中,至于总结在于个人,实际上越到后面你会发现学习的最好方式就是阅读参考官方文档其次就是国内的书籍,博客次之,这又是一个层次了,这里暂时不提后面再谈。博主将为各位入门java保驾护航,各位只管冲鸭!!!上天是公平的,只要不辜负时间,时间自然不会辜负你。 何谓学习?博主所理解的学习,它是一个过程,是一个不断累积、不断沉淀、不断总结、善于传达自己的个人见解以及乐于分享的过程。
程序员必须掌握的核心算法有哪些?
由于我之前一直强调数据结构以及算法学习的重要性,所以就有一些读者经常问我,数据结构与算法应该要学习到哪个程度呢?,说实话,这个问题我不知道要怎么回答你,主要取决于你想学习到哪些程度,不过针对这个问题,我稍微总结一下我学过的算法知识点,以及我觉得值得学习的算法。这些算法与数据结构的学习大多数是零散的,并没有一本把他们全部覆盖的书籍。下面是我觉得值得学习的一些算法以及数据结构,当然,我也会整理一些看过
程序员接私活怎样防止做完了不给钱?
首先跟大家说明一点,我们做 IT 类的外包开发,是非标品开发,所以很有可能在开发过程中会有这样那样的需求修改,而这种需求修改很容易造成扯皮,进而影响到费用支付,甚至出现做完了项目收不到钱的情况。 那么,怎么保证自己的薪酬安全呢? 我们在开工前,一定要做好一些证据方面的准备(也就是“讨薪”的理论依据),这其中最重要的就是需求文档和验收标准。一定要让需求方提供这两个文档资料作为开发的基础。之后开发
Python十大装B语法
Python 是一种代表简单思想的语言,其语法相对简单,很容易上手。不过,如果就此小视 Python 语法的精妙和深邃,那就大错特错了。本文精心筛选了最能展现 Python 语法之精妙的十个知识点,并附上详细的实例代码。如能在实战中融会贯通、灵活使用,必将使代码更为精炼、高效,同时也会极大提升代码B格,使之看上去更老练,读起来更优雅。 1. for - else 什么?不是 if 和 else 才
数据库优化 - SQL优化
前面一篇文章从实例的角度进行数据库优化,通过配置一些参数让数据库性能达到最优。但是一些“不好”的SQL也会导致数据库查询变慢,影响业务流程。本文从SQL角度进行数据库优化,提升SQL运行效率。 判断问题SQL 判断SQL是否有问题时可以通过两个表象进行判断: 系统级别表象 CPU消耗严重 IO等待严重 页面响应时间过长
2019年11月中国大陆编程语言排行榜
2019年11月2日,我统计了某招聘网站,获得有效程序员招聘数据9万条。针对招聘信息,提取编程语言关键字,并统计如下: 编程语言比例 rank pl_ percentage 1 java 33.62% 2 c/c++ 16.42% 3 c_sharp 12.82% 4 javascript 12.31% 5 python 7.93% 6 go 7.25% 7
通俗易懂地给女朋友讲:线程池的内部原理
餐盘在灯光的照耀下格外晶莹洁白,女朋友拿起红酒杯轻轻地抿了一小口,对我说:“经常听你说线程池,到底线程池到底是个什么原理?”
经典算法(5)杨辉三角
写在前面: 我是 扬帆向海,这个昵称来源于我的名字以及女朋友的名字。我热爱技术、热爱开源、热爱编程。技术是开源的、知识是共享的。 这博客是对自己学习的一点点总结及记录,如果您对 Java、算法 感兴趣,可以关注我的动态,我们一起学习。 用知识改变命运,让我们的家人过上更好的生活。 目录一、杨辉三角的介绍二、杨辉三角的算法思想三、代码实现1.第一种写法2.第二种写法 一、杨辉三角的介绍 百度
腾讯算法面试题:64匹马8个跑道需要多少轮才能选出最快的四匹?
昨天,有网友私信我,说去阿里面试,彻底的被打击到了。问了为什么网上大量使用ThreadLocal的源码都会加上private static?他被难住了,因为他从来都没有考虑过这个问题。无独有偶,今天笔者又发现有网友吐槽了一道腾讯的面试题,我们一起来看看。 腾讯算法面试题:64匹马8个跑道需要多少轮才能选出最快的四匹? 在互联网职场论坛,一名程序员发帖求助到。二面腾讯,其中一个算法题:64匹
面试官:你连RESTful都不知道我怎么敢要你?
面试官:了解RESTful吗? 我:听说过。 面试官:那什么是RESTful? 我:就是用起来很规范,挺好的 面试官:是RESTful挺好的,还是自我感觉挺好的 我:都挺好的。 面试官:… 把门关上。 我:… 要干嘛?先关上再说。 面试官:我说出去把门关上。 我:what ?,夺门而去 文章目录01 前言02 RESTful的来源03 RESTful6大原则1. C-S架构2. 无状态3.统一的接
为啥国人偏爱Mybatis,而老外喜欢Hibernate/JPA呢?
关于SQL和ORM的争论,永远都不会终止,我也一直在思考这个问题。昨天又跟群里的小伙伴进行了一番讨论,感触还是有一些,于是就有了今天这篇文。 声明:本文不会下关于Mybatis和JPA两个持久层框架哪个更好这样的结论。只是摆事实,讲道理,所以,请各位看官勿喷。 一、事件起因 关于Mybatis和JPA孰优孰劣的问题,争论已经很多年了。一直也没有结论,毕竟每个人的喜好和习惯是大不相同的。我也看
SQL-小白最佳入门sql查询一
一 说明 如果是初学者,建议去网上寻找安装Mysql的文章安装,以及使用navicat连接数据库,以后的示例基本是使用mysql数据库管理系统; 二 准备前提 需要建立一张学生表,列分别是id,名称,年龄,学生信息;本示例中文章篇幅原因SQL注释略; 建表语句: CREATE TABLE `student` ( `id` int(11) NOT NULL AUTO_INCREMENT, `
项目中的if else太多了,该怎么重构?
介绍 最近跟着公司的大佬开发了一款IM系统,类似QQ和微信哈,就是聊天软件。我们有一部分业务逻辑是这样的 if (msgType = "文本") { // dosomething } else if(msgType = "图片") { // doshomething } else if(msgType = "视频") { // doshomething } else { // dosho
致 Python 初学者
文章目录1. 前言2. 明确学习目标,不急于求成,不好高骛远3. 在开始学习 Python 之前,你需要做一些准备2.1 Python 的各种发行版2.2 安装 Python2.3 选择一款趁手的开发工具3. 习惯使用IDLE,这是学习python最好的方式4. 严格遵从编码规范5. 代码的运行、调试5. 模块管理5.1 同时安装了py2/py35.2 使用Anaconda,或者通过IDE来安装模
“狗屁不通文章生成器”登顶GitHub热榜,分分钟写出万字形式主义大作
一、垃圾文字生成器介绍 最近在浏览GitHub的时候,发现了这样一个骨骼清奇的雷人项目,而且热度还特别高。 项目中文名:狗屁不通文章生成器 项目英文名:BullshitGenerator 根据作者的介绍,他是偶尔需要一些中文文字用于GUI开发时测试文本渲染,因此开发了这个废话生成器。但由于生成的废话实在是太过富于哲理,所以最近已经被小伙伴们给玩坏了。 他的文风可能是这样的: 你发现,
程序员:我终于知道post和get的区别
IT界知名的程序员曾说:对于那些月薪三万以下,自称IT工程师的码农们,其实我们从来没有把他们归为我们IT工程师的队伍。他们虽然总是以IT工程师自居,但只是他们一厢情愿罢了。 此话一出,不知激起了多少(码农)程序员的愤怒,却又无可奈何,于是码农问程序员。 码农:你知道get和post请求到底有什么区别? 程序员:你看这篇就知道了。 码农:你月薪三万了? 程序员:嗯。 码农:你是怎么做到的? 程序员:
羞,Java 字符串拼接竟然有这么多姿势
二哥,我今年大二,看你分享的《阿里巴巴 Java 开发手册》上有一段内容说:“循环体内,拼接字符串最好使用 StringBuilder 的 append 方法,而不是 + 号操作符。”到底为什么啊,我平常一直就用的‘+’号操作符啊!二哥有空的时候能否写一篇文章分析一下呢? 就在昨天,一位叫小菜的读者微信我说了上面这段话。 我当时看到这条微信的第一感觉是:小菜你也太菜了吧,这都不知道为啥啊!我估...
"狗屁不通文章生成器"登顶GitHub热榜,分分钟写出万字形式主义大作
前言 GitHub 被誉为全球最大的同性交友网站,……,陪伴我们已经走过 10+ 年时间,它托管了大量的软件代码,同时也承载了程序员无尽的欢乐。 上周给大家分享了一篇10个让你笑的合不拢嘴的Github项目,而且还拿了7万+个Star哦,有兴趣的朋友,可以看看, 印象最深刻的是 “ 呼吸不止,码字不停 ”: 老实交代,你是不是经常准备写个技术博客,打开word后瞬间灵感便秘,码不出字? 有什么
推荐几款比较实用的工具,网站
1.盘百度PanDownload 这个云盘工具是免费的,可以进行资源搜索,提速(偶尔会抽风????) 不要去某站买付费的???? PanDownload下载地址 2.BeJSON 这是一款拥有各种在线工具的网站,推荐它的主要原因是网站简洁,功能齐全,广告相比其他广告好太多了 bejson网站 3.二维码美化 这个网站的二维码美化很好看,网站界面也很...
《程序人生》系列-这个程序员只用了20行代码就拿了冠军
你知道的越多,你不知道的越多 点赞再看,养成习惯GitHub上已经开源https://github.com/JavaFamily,有一线大厂面试点脑图,欢迎Star和完善 前言 这一期不算《吊打面试官》系列的,所有没前言我直接开始。 絮叨 本来应该是没有这期的,看过我上期的小伙伴应该是知道的嘛,双十一比较忙嘛,要值班又要去帮忙拍摄年会的视频素材,还得搞个程序员一天的Vlog,还要写BU
程序员把地府后台管理系统做出来了,还有3.0版本!12月7号最新消息:已在开发中有github地址
第一幕:缘起 听说阎王爷要做个生死簿后台管理系统,我们派去了一个程序员…… 996程序员做的梦: 第一场:团队招募 为了应对地府管理危机,阎王打算找“人”开发一套地府后台管理系统,于是就在地府总经办群中发了项目需求。 话说还是中国电信的信号好,地府都是满格,哈哈!!! 经常会有外行朋友问:看某网站做的不错,功能也简单,你帮忙做一下? 而这次,面对这样的需求,这个程序员
网易云6亿用户音乐推荐算法
网易云音乐是音乐爱好者的集聚地,云音乐推荐系统致力于通过 AI 算法的落地,实现用户千人千面的个性化推荐,为用户带来不一样的听歌体验。 本次分享重点介绍 AI 算法在音乐推荐中的应用实践,以及在算法落地过程中遇到的挑战和解决方案。 将从如下两个部分展开: AI 算法在音乐推荐中的应用 音乐场景下的 AI 思考 从 2013 年 4 月正式上线至今,网易云音乐平台持续提供着:乐屏社区、UGC
8年经验面试官详解 Java 面试秘诀
    作者 | 胡书敏 责编 | 刘静 出品 | CSDN(ID:CSDNnews) 本人目前在一家知名外企担任架构师,而且最近八年来,在多家外企和互联网公司担任Java技术面试官,前后累计面试了有两三百位候选人。在本文里,就将结合本人的面试经验,针对Java初学者、Java初级开发和Java开发,给出若干准备简历和准备面试的建议。   Java程序员准备和投递简历的实
面试官如何考察你的思维方式?
1.两种思维方式在求职面试中,经常会考察这种问题:北京有多少量特斯拉汽车? 某胡同口的煎饼摊一年能卖出多少个煎饼? 深圳有多少个产品经理? 一辆公交车里能装下多少个乒乓球? 一
碎片化的时代,如何学习
今天周末,和大家聊聊学习这件事情。 在如今这个社会,我们的时间被各类 APP 撕的粉碎。 刷知乎、刷微博、刷朋友圈; 看论坛、看博客、看公号; 等等形形色色的信息和知识获取方式一个都不错过。 貌似学了很多,但是却感觉没什么用。 要解决上面这些问题,首先要分清楚一点,什么是信息,什么是知识。 那什么是信息呢? 你一切听到的、看到的,都是信息,比如微博上的明星出轨、微信中的表情大战、抖音上的段子
so easy! 10行代码写个"狗屁不通"文章生成器
前几天,GitHub 有个开源项目特别火,只要输入标题就可以生成一篇长长的文章。 背后实现代码一定很复杂吧,里面一定有很多高深莫测的机器学习等复杂算法 不过,当我看了源代码之后 这程序不到50行 尽管我有多年的Python经验,但我竟然一时也没有看懂 当然啦,原作者也说了,这个代码也是在无聊中诞生的,平时撸码是不写中文变量名的, 中文...
知乎高赞:中国有什么拿得出手的开源软件产品?(整理自本人原创回答)
知乎高赞:中国有什么拿得出手的开源软件产品? 在知乎上,有个问题问“中国有什么拿得出手的开源软件产品(在 GitHub 等社区受欢迎度较好的)?” 事实上,还不少呢~ 本人于2019.7.6进行了较为全面的回答,对这些受欢迎的 Github 开源项目分类整理如下: 分布式计算、云平台相关工具类 1.SkyWalking,作者吴晟、刘浩杨 等等 仓库地址: apache/skywalking 更...
相关热词 c# plc s1200 c#里氏转换原则 c# 主界面 c# do loop c#存为组套 模板 c# 停掉协程 c# rgb 读取图片 c# 图片颜色调整 最快 c#多张图片上传 c#密封类与密封方法
立即提问