草庐IT

find_end

全部标签

android - FileProvider 无法与 Failed to find configured root that contains

我正在尝试使用FileProvider方式在Android上实现下载和共享PDF文件以供其他PDF阅读器应用程序(DropBox、DrivePDFReader或Adob​​eReader)阅读。但是,我不断收到以下异常:Failedtofindconfiguredrootthatcontains/storage/emulated/0/Android/data/com.my.app/files/docs/my_file_name.pdf我首先将URL发送到AndroidDownloadManager以执行下载,然后使用BroadcastReceiver接收结果我的实现如下:file_pa

java.lang.ClassNotFoundException : Didn't find class ".MainActivity" on path: DexPathList react-native 异常

这个问题在这里已经有了答案:java.lang.ClassNotFoundException:Didn'tfindclassonpath:dexpathlist(42个回答)关闭4年前。我正在使用react-native编写一个移动应用程序。即使我没有触及代码的任何native方面,应用程序在运行后就开始停止。我对ReactNative组件做了一些改动,但我没有使用任何新的东西。我在Androidstudio中调试它,这是错误:E/AndroidRuntime:FATALEXCEPTION:mainProcess:tedu.edu.tr,PID:23741java.lang.Runti

android - Flurry 与 Android 应用程序的集成给出错误 "Could not find class ' com.flurry.sdk.i',从方法 com.flurry.sdk.hu.a 中引用”

这是我到目前为止尝试过的:publicclassScoreUpAppextendsApplication{privatestaticScoreUpAppscoreUpDataCache;publicstaticfinalStringTAG="MyApp";@OverridepublicvoidonCreate(){//TODOAuto-generatedmethodstubsuper.onCreate();//configureFlurryFlurryAgent.setLogEnabled(true);//initFlurryFlurryAgent.init(this,"V88JVYG

android - 错误 :Could not find com. google.firebase :firebase-plugins:1. 1.5

无法构建代码出错。CONFIGUREFAILEDin5sCouldnotfindcom.google.firebase:firebase-plugins:1.1.5.Searchedinthefollowinglocations:https://dl.google.com/dl/android/maven2/com/google/firebase/firebase-plugins/1.1.5/firebase-plugins-1.1.5.pomhttps://dl.google.com/dl/android/maven2/com/google/firebase/firebase-plu

android - android :ellipsize ="end" 的奇怪问题

我在androidxml文件中使用android:ellipsize="end",令人惊讶的是我没有得到我想要的布局,显示了3个点(...)但在那之后点还有一个词被截断了。这也是一种“不总是”的行为,检查附加的ListView,有时,行为是正常的,有时不是。这是我设备的布局截图,我不知道为什么会这样。这是我的xml文件,tv_news_contentTextView-有问题为了清楚起见,tv_news_title是最上面的粗体TextView,而iv_next_tier是右侧的小箭头型ImageView。&tv_news_content是我遇到问题的TextView。为什么我没有得到想

android - 错误 : cannot find symbol variable DaggerAppComponent

在尝试集成最新的Dagger2版本时,我遇到了Dagger自动生成的问题。尽管有几个Rebuilds和MakeModuleApp过程,但Dagger不会自动生成DaggerAppComponent。应用类:publicclassBaseApplicationextendsApplication{privateAppComponentappComponent;@OverridepublicvoidonCreate(){super.onCreate();initAppComponent();}privatevoidinitAppComponent(){DaggerAppComponent.

android - 重命名包名后"Cannot find symbol R"错误

重命名我的项目包名称(使用Refactor)后,出现此错误:Error:(7,44)error:cannotfindsymbolclassR我所有的R用法都是无效的。我试图手动修复它,但它对我不起作用。Invalidatechases/Restart对我也没有帮助。 最佳答案 尝试以下操作:TrydeletingyourR.javafile,androidstudiowillregenerateit.CleanProjectRebuildProject并检查:ChecktheAndroidManifest.xml,there'sap

android - Android 上的 SaxParser : Unexpected End Of Document Exception

尝试在android上解析xml文档时出现“SAXParseException:文档意外结束”错误。有问题的文档来自googleweatherapi,但无论有问题的xml文件如何(只要xml有效),它似乎都会抛出相同的错误,所以我怀疑这是我的方法的问题,而不是xml。这是作为一个学习练习来完成的,所以我可能(希望)忽略了一些明显的东西=)我已经通过在线验证器运行xml,返回时格式正确。(不能告诉我它是否有效,因为我没有DTD,但我认为我不需要DTD来解析xml)。这是我用来尝试解析文件的代码:privatevoidrefreshForecast()URLurl;try{url=newU

android - org.json.JSON 异常 : End of input at character 0

我正在尝试从android解析json,但出现了这个奇怪的异常。我的json数据是{"id":"1","owner":"1","name":"gravitas","description":"isafest","start_time":"0000-00-0000:00:00","end_time":"0000-00-0000:00:00","venue":"vellore","radius":"10","lat":"11","lng":"11","type":"type","ownername":"dilip","noofpolls":0,"noofquizes":0,"peoplea

安卓 ClassNotFoundException : Didn't find class

02-2801:49:27.741:E/AndroidRuntime(23024):FATALEXCEPTION:main02-2801:49:27.741:E/AndroidRuntime(23024):java.lang.RuntimeException:UnabletoinstantiateactivityComponentInfo{com.appname.android/com.appname.android.ITCutiesReaderAppActivity}:java.lang.ClassNotFoundException:Didn'tfindclass"com.appna