cordova android - 代码和版本未更新

时间:2016-11-02 08:28:06

标签: cordova android-security

我最近尝试更新Google Play商店的应用程序,并因为cordova内部的一些漏洞而收到了Google的拒绝。

"这些漏洞已在Apache Cordova v.4.1.1或更高版本中得到修复。"

所以,我试图更新cordova& cordova android:

>cordova -v 6.4.0

>cordova platform ls Installed platforms: android 6.0.0 ios 3.8.0 windows Available platforms: amazon-fireos ~3.6.3 (deprecated) blackberry10 ~3.8.0 browser ~4.1.0 firefoxos ~3.6.3 webos ~3.7.0 windows ~4.4.0 wp8 ~3.8.2 (deprecated)

所以,我认为我的版本一切都很好。

但是,我真的不知道为什么,现在我的代码存在问题。

  • 当我尝试上传新版本时,谷歌说我没有更改版本号(这是假的,我已经改变了它)

  • 当我在平板电脑上查看我的应用时,我所做的所有错误更正都不在这里(它是一个旧版本,不知道为什么),但如果我在桌面上查看我的应用程序,所有错误更正都在这里。

我认为这两个问题都有关联,但我真的不知道为什么。 我已经过了" cordova run android"的结果。 cmd,我看到"跳过构建"。

有没有人对这个问题有所了解?非常感谢

>cordova run android ANDROID_HOME=C:\Users\XXX\AppData\Local\Android\android-sdk JAVA_HOME=C:\Program Files\Java\jdk1.8.0_65 Subproject Path: CordovaLib Incremental java compilation is an incubating feature. :preBuild UP-TO-DATE :preDebugBuild UP-TO-DATE :checkDebugManifest :CordovaLib:preBuild UP-TO-DATE :CordovaLib:preDebugBuild UP-TO-DATE :CordovaLib:checkDebugManifest :CordovaLib:prepareDebugDependencies :CordovaLib:compileDebugAidl :CordovaLib:compileDebugNdk UP-TO-DATE :CordovaLib:compileLint :CordovaLib:copyDebugLint UP-TO-DATE :CordovaLib:mergeDebugShaders :CordovaLib:compileDebugShaders :CordovaLib:generateDebugAssets :CordovaLib:mergeDebugAssets :CordovaLib:mergeDebugProguardFiles UP-TO-DATE :CordovaLib:packageDebugRenderscript UP-TO-DATE :CordovaLib:compileDebugRenderscript :CordovaLib:generateDebugResValues :CordovaLib:generateDebugResources :CordovaLib:packageDebugResources :CordovaLib:processDebugManifest :CordovaLib:generateDebugBuildConfig :CordovaLib:processDebugResources :CordovaLib:generateDebugSources :CordovaLib:incrementalDebugJavaCompilationSafeguard :CordovaLib:compileDebugJavaWithJavac :CordovaLib:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.). Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. :CordovaLib:processDebugJavaRes UP-TO-DATE :CordovaLib:transformResourcesWithMergeJavaResForDebug :CordovaLib:transformClassesAndResourcesWithSyncLibJarsForDebug :CordovaLib:mergeDebugJniLibFolders :CordovaLib:transformNative_libsWithMergeJniLibsForDebug :CordovaLib:transformNative_libsWithSyncJniLibsForDebug :CordovaLib:bundleDebug :prepareAndroidCordovaLibUnspecifiedDebugLibrary :prepareDebugDependencies :compileDebugAidl :compileDebugRenderscript :generateDebugBuildConfig :generateDebugResValues :generateDebugResources :mergeDebugResources :processDebugManifest :processDebugResources :generateDebugSources :incrementalDebugJavaCompilationSafeguard :compileDebugJavaWithJavac :compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.). :compileDebugNdk UP-TO-DATE :compileDebugSources :mergeDebugShaders :compileDebugShaders :generateDebugAssets :mergeDebugAssets :transformClassesWithDexForDebug :mergeDebugJniLibFolders :transformNative_libsWithMergeJniLibsForDebug :processDebugJavaRes UP-TO-DATE :transformResourcesWithMergeJavaResForDebug :validateSigningDebug :packageDebug :assembleDebug :cdvBuildDebug

BUILD SUCCESSFUL

Total time: 5.293 secs Built the following apk(s): D:/dev/app/appName/platforms/android/build/outputs/apk/android-debug.apk ANDROID_HOME=C:\Users\XXX\AppData\Local\Android\android-sdk JAVA_HOME=C:\Program Files\Java\jdk1.8.0_65 No target specified, deploying to device 'R32D203NC4M'. Skipping build... Built the following apk(s): D:/dev/app/appName/platforms/android/ant-build/MainActivity-debug.apk D:/dev/app/appName/platforms/android/build/outputs/apk/android-debug.apk Using apk: D:/dev/app/appName/platforms/android/ant-build/MainActivity-debug.apk Package name: yyy.app1_0 LAUNCH SUCCESS

有两个版本是否正常? " MainActivity.apk" &安培; "机器人-debug.apk"

编辑:似乎是" MainActivity.apk"如果我比较"修改日期"使用的不是最后一个版本在Windows上

0 个答案:

没有答案