Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/ant/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 在AndrStudio中使用Fabric插件使我的代码崩溃_Android_Crashlytics_Google Fabric - Fatal编程技术网

Android 在AndrStudio中使用Fabric插件使我的代码崩溃

Android 在AndrStudio中使用Fabric插件使我的代码崩溃,android,crashlytics,google-fabric,Android,Crashlytics,Google Fabric,在Android Studio中使用Fabric插件时,它将实例插入到代码中 Fabric.with(this, new Crashlytics()); 无论如何,它看起来会把它插入到我当前的代码中间——看起来像在光标位置,它可以破坏用户代码 我的例子 我有 在结构插件执行之后,我得到了 getActionBar().setHomeButFabric.with(this, new Crashlytics());tonEnabled(true); 你需要手工更正它嗨,约瑟夫,保罗,这里是织物公

在Android Studio中使用Fabric插件时,它将实例插入到代码中

Fabric.with(this, new Crashlytics());

无论如何,它看起来会把它插入到我当前的代码中间——看起来像在光标位置,它可以破坏用户代码

我的例子 我有

在结构插件执行之后,我得到了

getActionBar().setHomeButFabric.with(this, new Crashlytics());tonEnabled(true);

你需要手工更正它

嗨,约瑟夫,保罗,这里是织物公司。这是经常发生,还是只发生一次?对我来说,它发生了两次
getActionBar().setHomeButFabric.with(this, new Crashlytics());tonEnabled(true);