草庐IT

find_stuff

全部标签

android - react native : ReferenceError: Can't find variable: require (line 1 in the generated bundle)

我使用以下指南在ReactNative中创建了一个示例应用Reactnativeandroid但是当我运行react-nativerun-android时。我收到以下异常。11-2516:10:35.3261796-1897/com.awesomeE/ReactNative:GotJSException:ReferenceError:Can'tfindvariable:require11-2516:10:35.3271796-1897/com.awesomeE/AndroidRuntime:FATALEXCEPTION:mqt_jsProcess:com.awesome,PID:179

android - 发布android库到jcenter : gradle bintrayUpload does not find libraries

我正在尝试将Android库发布到jcenter。我关注了https://github.com/danielemaddaluno/gradle-jcenter-publish教程。在我尝试执行之前一切正常gradlebintrayUpload当我这样做时,我得到了构建失败。当我查看错误时,我看到了包com.android.volley不存在因此找不到我作为gradle依赖项包含的库dependencies{compile'com.mcxiaoke.volley:library:1.+'(...)}包含的其他库也会发生同样的情况。我该如何解决这个问题?我附加模块build.gradlea

android - 无法实例化应用程序 - java.lang.ClassNotFoundException : Didn't find class "com.xxxxx.App" on path:/data/app/com. xxxxx-1.apk

这是我每次运行应用程序时的错误:E/AndroidRuntime:FATALEXCEPTION:mainjava.lang.RuntimeException:Unabletoinstantiateapplicationcom.xxxxx.App:java.lang.ClassNotFoundException:Didn'tfindclass"com.xxxxx.App"onpath:/data/app/com.xxxxx-1.apkatandroid.app.LoadedApk.makeApplication(LoadedApk.java:509)atandroid.app.Activ

android - VFY : unable to resolve [lots of stuff]

我今天回来工作,开始使用模拟器(KitKat)调试我的应用程序,我的应用程序运行正常。自上周五以来,我做了一些更改,但变化不大。然后我转到设备(Gingerbread)并注意到上周运行的应用程序在主要Activity的setContentView()上开始崩溃。以下是警告/错误消息:W/ActivityThread﹕Applicationcom.example.myappiswaitingforthedebuggeronport8100...W/dalvikvm﹕VFY:unabletoresolvestaticmethod790:Landroid/net/TrafficStats;.

android - gradle-android-scala-plugin 给出 "Could not find matching constructor"错误

导入thisAndroidStudio中的示例代码会出现此错误:Error:(17,0)Couldnotfindmatchingconstructorfor:org.gradle.api.internal.tasks.DefaultScalaSourceSet(java.lang.String,org.gradle.api.internal.file.BaseDirFileResolver)build.gradle:buildscript{repositories{mavenCentral()}dependencies{classpath"com.android.tools.build

android - 错误 : Could not find gradle wrapper within Android SDK (cordova + ionic)

运行ionicbuildandroid时ANDROID_HOME=/Library/Android/sdkJAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/HomeError:CouldnotfindgradlewrapperwithinAndroidSDK.MightneedtoupdateyourAndroidSDK.Lookedhere:/Library/Android/sdk/tools/templates/gradle/wrapper我尝试使用更新sdkandroid更新sdk-u

android - 如何在 adb shell 中使用 find 命令

我想检查我的android设备的目录中是否有某个文件。我在我的Windows批处理中使用以下行adbshellfind/mnt/sdcard/koinoxrista-nameBill.txt如果文件存在我想做一些事情,如果文件不存在我想做一些其他事情。我该怎么做? 最佳答案 adbshell不支持查找命令。此命令还将显示隐藏文件adbshellls-laR|grep文件名 关于android-如何在adbshell中使用find命令,我们在StackOverflow上找到一个类似的问题:

android - java.lang.ClassNotFoundException : Didn't find class on path: DexPathList , 更新sdk后

大家好我的应用程序直到昨天都运行良好,我昨天更新了我的SDK,它首先开始出错它给出了一个错误Noresourcefoundatvaluesv24....像这样的事情我通过更改build.gradle中的以下行搜索并解决了它compileSdkVersion25buildToolsVersion'25.0.2'现在错误消失了,它在更高的android版本7.1.1中完全正常运行但是当我运行低版本的android时,它给出了以下错误E/AndroidRuntime:FATALEXCEPTION:mainProcess:com.wowio.ebookreader,PID:15469java.

android - "Cannot find build.xml"构建Android SDK示例错误

日志是:BUILDFAILED/Users/xxx/sample/build.xml:114:Cannotfind/Users/xxx/Library/Android/Library/Android/sdk/tools/ant/build.xmlimportedfrom/Users/xxx/sample/build.xml我可以确认sdkdir是正确的。我发现/Users/xxx/Library/Android/Library/Android/sdk/tools/下没有ant目录我发现有人说是自动生成的。如何在tools/ant中制作这个build.xml?我使用Mac。

android - 压缩对齐错误 : The system cannot find the file specified

我输入:C:\ProgramFiles(x86)\Android\android-sdk\tools>zipalign[-f][-v]B10816062011-unaligned.apkB10816062011-aligned.apk它返回:系统找不到指定的文件。这让我发疯,因为我知道源文件就是我试图引导它的地方!有人知道或遇到过这个问题吗? 最佳答案 请避免使用[](方括号)和例如:D:\android-sdk\android-sdk\tools>zipalign-f-v4"C:\Users\name\Desktop\projec