模拟测试正常,打包成apk后真机测试闪退
用真机测试 报错
Could not find method invest_check(View) in a parent or ancestor Context for android:onClick attribute defined on view class android.widget.LinearLayout
invest_check方法在java文件中采用protected改成public后测试通过
模拟测试正常,打包成apk后真机测试闪退
用真机测试 报错
Could not find method invest_check(View) in a parent or ancestor Context for android:onClick attribute defined on view class android.widget.LinearLayout
invest_check方法在java文件中采用protected改成public后测试通过