草庐IT

PROJECT_FOLDER

全部标签

Android - 错误 :A prblem occurred configuring project ':app'

我的笔记本电脑在编译代码时突然关机。我进行更改的文件已损坏。我再次修复了它们,这是我在编译时遇到的错误。谁能帮我弄清楚这是什么?Failedtodeserializescriptmetadataextractedusingorg.gradle.groovy.scripts.internal.SubsetScriptTransformerforbuildfile'/home/viraj/TutsTry/Airfollow/app/build.gradle' 最佳答案 像这样简单地解决Project->OpenModuleSetting

javascript - react native : Is there any way to check if the file exists in android_asset folder or not?

我需要像这样检查文件夹中的文件是否存在:file:///android_asset/contents/my.html我试过使用react-native-filesystem插件componentWillMount(){asyncfunctioncheckIfFileExists(){constfileExists=awaitFileSystem.fileExists('file:///android_asset/contents/my.html')console.log(`fileexists:${fileExists}`)}}我确信my.html文件在那里,但我在fileExists

android - 如何在 Library Project 中导入包和类文件

APK大小已达到105MB,我需要创建APK扩展文件。我正在关注AndroidDocumentation用于创建扩展文件。我已经下载了GooglePlayAPK扩展库和GooglePlay许可库。现在我需要将这些库添加到我的应用程序中。我关注了documentation.它声明如下选择"file">“新建”>“新建模块”。在“创建新模块”窗口中,选择“Android库”,然后选择下一步。指定应用程序/库名称,例如“GooglePlay许可证Library”和“GooglePlayDownloaderLibrary”,选择MinimumSDK级别,然后选择“完成”。选择"file">“项

android - 在 android ant 中构建库项目时将 classes.jar 重命名为 <project_name>.jar

我有一个依赖于Android库项目B的Android应用程序项目A。当我在Eclipse中导入这两个项目时,我注意到EclipseBuilder(可能是由于ADT插件),库项目被编译并构建为b.jar并存储在项目B的bin\文件夹中。它在A的类路径中被引用为b.jar。但是,在使用ant构建它时,命令antdebug,库项目B被编译为classes.jar。有没有办法将此文件重命名为.jar?我尝试在SDKbuild.xml中重命名它,但项目A似乎无法解析B中定义的类。此外,B的测试项目失败,因为Androiddex编译器试图在其中搜索文件classes.jar库项目的bin\文件夹。

android - PhoneGap + 安卓 : 2 'www' folder in source code: which to modify?

当从头开始创建phonegap3应用程序时,我添加了平台android和buid+emulate。看这里,官方入门指南:http://docs.phonegap.com/en/edge/guide_cli_index.md.html#The%20Command-line%20Interface我开始修改代码,我注意到“hello”主目录下有一个“www”文件夹,还有一个在platforms\android\assets下我必须修改哪一个?如果我添加另一个平台?我对代码的修改会传递给其他平台的代码吗? 最佳答案 修改第一个“www”文

android - 如何解决 "The application which this project type is based on was not found."错误?

我正在尝试启动ServiceStack.AndroidIndie解决方案以与教程一起使用。我正在尝试启用ServiceStack我的Android应用程序中的API;但是,我在尝试打开项目文件时收到以下错误:MigrationReport-OverviewProjectPathErrorsWarningsMessagesServiceStack.Client.AndroidIndie.csproj100ServiceStack.Interfaces.AndroidIndie.csproj100ServiceStack.Text.AndroidIndie.csproj100Service

android - 骑士 Xamarin 错误 MSB1008 : Only one project can be specified

只是试用Rider并遇到了这个问题,如果我只是构建XamarinAndroid项目-它构建得非常好,但是如果我尝试运行它,它会在部署步骤失败并出现以下错误:▼ProjectNotFoundMicrosoft(R)BuildEngineversion15.1.1012.6693Copyright(C)MicrosoftCorporation.Allrightsreserved.MSBUILD:errorMSB1008:Onlyoneprojectcanbespecified.Switch:Files\JetBrains\RiderForswitchsyntax,type"MSBuild/

android - Java 模型异常 : Java Model Status [gen [in MyApp] does not exist] after Eclipse Android project Clean

执行菜单栏后>项目>清理...我在错误日志中收到以下错误:JavaModelException:JavaModelStatus[gen[inMyApp]doesnotexist]atorg.eclipse.jdt.internal.core.JavaElement.newJavaModelException(JavaElement.java:502)atorg.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:246)atorg.eclipse.jdt.internal.core.JavaElement.ope

android - Eclipse 中的 Clean 会暂时破坏 Android 项目并显示错误消息 : missing required source folder: 'gen'

我在使用Eclipse中的Android项目时遇到了一个恼人的问题。我所有其他的Android项目都很好(目前)。每当我执行清理(Menu:Project->Clean...)时,项目都会出错,我无法编译/运行该应用程序。错误是:项目“项目名称”缺少所需的源文件夹:“gen”只要我编辑了一些代码,问题就会消失,直到我再次执行清理。我也可以右键单击gen文件夹并将其删除。Eclipse将重新创建gen文件夹,问题就会消失,直到我执行清理。这不是一个亮点,但它真的很烦人,因为我有时必须在运行应用程序之前进行清理。我正在使用以下内容:操作系统:Ubuntu10.04(LinuxCYLON2.

android - 错误 : Conflict with dependency 'com.android.support:multidex' in project

我使用以下gradle文件创建了一个新的android项目:android{...dexOptions{javaMaxHeapSize"4g"}...}dependencies{...compile'com.linkedin.dexmaker:dexmaker-mockito:2.16.0'...}但是当我构建我的应用程序时,我得到:Conflictwithdependency'com.android.support:multidex'inproject':app'.Resolvedversionsforapp(1.0.3)andtestapp(1.0.1)differ.Seehttp