草庐IT

find_end

全部标签

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

android - 无法摆脱错误 "/usr/bin/ld: cannot find -lncurses"

我想运行命令:repoinit-uhttps://android.googlesource.com/platform/manifest-bandroid-4.1.1_r6得到如下输出:Traceback(mostrecentcalllast):File"/home/anu/bin/repo",line91,inimportreadlineImportError:Nomodulenamedreadline为了解决上述问题,我尝试使用命令pipinstallreadline安装readline和easy_installreadline,但两个命令都输出以下内容:/usr/bin/ld:ca

android - 错误 :Android Dex: Cannot find file\android-sdk-path\platform-tools\lib\dx. jar

我几天前拿到了最新的AndroidSDK。我在使用IntellijIDEA构建我的android应用程序时遇到了诸如标题之类的问题。我知道最新的androidsdk将dx.jar从platform-tools移动到一个名为build-tools的新文件夹。所以我想知道如何修复它? 最佳答案 我有同样的问题:AndroidPreDex:CannotfindfileD:\sdk\sdk\platform-tools\dx.jar我用简单的方法解决了它。文件dx.jar位于D:\sdk\sdk\platform-tools\lib。我把它

android:ellipsize ="end"和 android:maxEms 不工作

我加了android:ellipsize="end"android:maxEms="8"android:singleLine="true"到我的TextView,目的是在末尾显示三个点,最大文本限制为8,但它不起作用。它既不显示点也不显示任何文本限制。 最佳答案 你添加“三点效应”的两个属性都是正确的android:ellipsize="end"android:singleLine="true"但只有当TextView在屏幕上没有任何可用空间来显示文本时才会出现这种效果。要设置TextView中的文本限制,您可以使用android:

android - gradle : Could not find com. android.support :multidex:1. 0.1

当我使用gradle(version2.1or2.4)构建AndroidProject时,出现如下错误。我在我的文件中找不到com.android.support:multidex:1.0.1。错误:configissettoBF688C717A5C3A69FE8CA522643C0A68configissettoPRODUCTvcodeissetto151vnameissetto1.5.1FAILURE:Buildfailedwithanexception.*Whatwentwrong:Aproblemoccurredconfiguringproject':XXXX'.Couldno

java - "Could not find class android.transition.Transition"按返回键时异常

我有一个Activity,一次托管一个fragment,并在两个fragment之间交换。fragmentA使用按钮启动fragmentB,fragmentB使用按钮或后退按钮启动fragmentA。使用自定义按钮从fragmentA到B以及从B到A时一切正常。问题是当我使用后退按钮从fragmentB转到A(fragmentA将事务添加到后退堆栈)时。在FragmentB上按下后退按钮时,我收到几个“无法找到classandroid.transition.Transition”异常和“无法解决check-cast1217警告,每个警告有11个,不会崩溃程序:我不知道这意味着什么,也不