[jira] [Commented] (CB-13541) Error: Path must be a string. Received undefined

2017-11-16 Thread Teguh Teknisi (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-13541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16255451#comment-16255451
 ] 

Teguh Teknisi commented on CB-13541:


thanks for the reply, but i still got the error.
as long the "undefined" is in the file platforms/android/android.json, it will 
fail to build

here the error log:
{code:java}
sukanime@Asus-X201EV:~/AndroidStudioProjects/SaklarWiFi$ cordova plugin remove 
3dtouch
Uninstalling cordova-plugin-3dtouch from android
Removing "cordova-plugin-3dtouch"
Removing plugin cordova-plugin-3dtouch from config.xml file...
Removing cordova-plugin-3dtouch from package.json
sukanime@Asus-X201EV:~/AndroidStudioProjects/SaklarWiFi$ cat 
platforms/android/android.json | grep undefined
  "undefined": {
sukanime@Asus-X201EV:~/AndroidStudioProjects/SaklarWiFi$ cordova build android
Error: Path must be a string. Received undefined
sukanime@Asus-X201EV:~/AndroidStudioProjects/SaklarWiFi$
{code}

i will succes when i delete the "undefined" from file 
platforms/android/android.json,
so i have to delete this line to make the build to success.
{code:java}
  "undefined": {
"parents": {
  "/manifest": [
{
  "xml": "",
  "count": 1
},
{
  "xml": "",
  "count": 1
},
{
  "xml": "",
  "count": 1
},
{
  "xml": "",
  "count": 1
}
  ]
}
  }
}
  },
{code}


the problem is, the "undefined" will be in the platforms/android/android.json 
file after i run build.

is there something wrong with the "undefined" line?
or is there a way to make the "undefined" line to gone from 
platforms/android/android.json file ?

> Error: Path must be a string. Received undefined
> 
>
> Key: CB-13541
> URL: https://issues.apache.org/jira/browse/CB-13541
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-android
> Environment: Kubuntu 17.04 64 bit, Gradle 3.2, Cordova Android 6.3.0, 
> Cordova cli-6.3.0, Android Studio 3.0.0
>Reporter: Teguh Teknisi
>Assignee: Joe Bowser
>Priority: Trivial
>  Labels: newbie
>
> When i try to cordiva build android, it will fail, with error:
> Error: Path must be a string. Received undefined
> I have to delete platforms/android/android.json
> to make the cordova android build to success.
> Here the error log:
> {code:java}
> sukanime@Asus-X201EV:~/AndroidStudioProjects/SaklarWiFi$ cordova build android
> Error: Path must be a string. Received undefined
> sukanime@Asus-X201EV:~/AndroidStudioProjects/SaklarWiFi$ rm 
> platforms/android/android.json
> sukanime@Asus-X201EV:~/AndroidStudioProjects/SaklarWiFi$ cordova build android
> ANDROID_HOME=/home/sukanime/Android/Sdk
> JAVA_HOME=/usr/lib/jvm/java-8-oracle
> Subproject Path: CordovaLib
> The Task.leftShift(Closure) method has been deprecated and is scheduled to be 
> removed in Gradle 5.0. Please use Task.doLast(Action) instead.
> at 
> build_asz7izgfnstnapj05rr74ilff.run(/home/sukanime/AndroidStudioProjects/SaklarWiFi/platforms/android/build.gradle:141)
> The JavaCompile.setDependencyCacheDir() method has been deprecated and is 
> scheduled to be removed in Gradle 4.0.
> Incremental java compilation is an incubating feature.
> The TaskInputs.source(Object) method has been deprecated and is scheduled to 
> be removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() 
> instead.
> :clean
> :CordovaLib:clean
> BUILD SUCCESSFUL
> Total time: 3.13 secs
> Subproject Path: CordovaLib
> Subproject Path: CordovaLib
> Running command: 
> /home/sukanime/AndroidStudioProjects/SaklarWiFi/hooks/after_prepare/030_resource_files.js
>  /home/sukanime/AndroidStudioProjects/SaklarWiFi
> ANDROID_HOME=/home/sukanime/Android/Sdk
> JAVA_HOME=/usr/lib/jvm/java-8-oracle
> Subproject Path: CordovaLib
> The Task.leftShift(Closure) method has been deprecated and is scheduled to be 
> removed in Gradle 5.0. Please use Task.doLast(Action) instead.
> at 
> build_asz7izgfnstnapj05rr74ilff.run(/home/sukanime/AndroidStudioProjects/SaklarWiFi/platforms/android/build.gradle:141)
> The JavaCompile.setDependencyCacheDir() method has been deprecated and is 
> scheduled to be removed in Gradle 4.0.
> Incremental java compilation is an incubating feature.
> The TaskInputs.source(Object) method has been deprecated and is scheduled to 
> be removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() 
> instead.
> :preBuild UP-TO-DATE
> :preDebugBuild UP-TO-DATE
> :checkDebugManifest
> :preReleaseBuild UP-TO-DATE
> :CordovaLib:preBuild UP-TO-DATE
> :CordovaLib:preDebugBuild UP-TO-DATE
> :CordovaLib:checkDebugManifest
> :CordovaLi

[jira] [Updated] (CB-13541) Error: Path must be a string. Received undefined

2017-11-06 Thread Teguh Teknisi (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-13541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Teguh Teknisi updated CB-13541:
---
Description: 
When i try to cordiva build android, it will fail, with error:
Error: Path must be a string. Received undefined

I have to delete platforms/android/android.json
to make the cordova android build to success.

Here the error log:
{code:java}
sukanime@Asus-X201EV:~/AndroidStudioProjects/SaklarWiFi$ cordova build android
Error: Path must be a string. Received undefined
sukanime@Asus-X201EV:~/AndroidStudioProjects/SaklarWiFi$ rm 
platforms/android/android.json
sukanime@Asus-X201EV:~/AndroidStudioProjects/SaklarWiFi$ cordova build android
ANDROID_HOME=/home/sukanime/Android/Sdk
JAVA_HOME=/usr/lib/jvm/java-8-oracle
Subproject Path: CordovaLib
The Task.leftShift(Closure) method has been deprecated and is scheduled to be 
removed in Gradle 5.0. Please use Task.doLast(Action) instead.
at 
build_asz7izgfnstnapj05rr74ilff.run(/home/sukanime/AndroidStudioProjects/SaklarWiFi/platforms/android/build.gradle:141)
The JavaCompile.setDependencyCacheDir() method has been deprecated and is 
scheduled to be removed in Gradle 4.0.
Incremental java compilation is an incubating feature.
The TaskInputs.source(Object) method has been deprecated and is scheduled to be 
removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() 
instead.
:clean
:CordovaLib:clean

BUILD SUCCESSFUL

Total time: 3.13 secs
Subproject Path: CordovaLib
Subproject Path: CordovaLib
Running command: 
/home/sukanime/AndroidStudioProjects/SaklarWiFi/hooks/after_prepare/030_resource_files.js
 /home/sukanime/AndroidStudioProjects/SaklarWiFi
ANDROID_HOME=/home/sukanime/Android/Sdk
JAVA_HOME=/usr/lib/jvm/java-8-oracle
Subproject Path: CordovaLib
The Task.leftShift(Closure) method has been deprecated and is scheduled to be 
removed in Gradle 5.0. Please use Task.doLast(Action) instead.
at 
build_asz7izgfnstnapj05rr74ilff.run(/home/sukanime/AndroidStudioProjects/SaklarWiFi/platforms/android/build.gradle:141)
The JavaCompile.setDependencyCacheDir() method has been deprecated and is 
scheduled to be removed in Gradle 4.0.
Incremental java compilation is an incubating feature.
The TaskInputs.source(Object) method has been deprecated and is scheduled to be 
removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() 
instead.
:preBuild UP-TO-DATE
:preDebugBuild UP-TO-DATE
:checkDebugManifest
:preReleaseBuild UP-TO-DATE
: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
:CordovaLib:preReleaseBuild UP-TO-DATE
:CordovaLib:checkReleaseManifest
:CordovaLib:prepareReleaseDependencies
:CordovaLib:compileReleaseAidl
:CordovaLib:compileReleaseNdk UP-TO-DATE
:CordovaLib:copyReleaseLint UP-TO-DATE
:CordovaLib:mergeReleaseShaders
:CordovaLib:compileReleaseShaders
:CordovaLib:generateReleaseAssets
:CordovaLib:mergeReleaseAssets
:CordovaLib:mergeReleaseProguardFiles UP-TO-DATE
:CordovaLib:packageReleaseRenderscript UP-TO-DATE
:CordovaLib:compileReleaseRenderscript
:CordovaLib:generateReleaseResValues
:CordovaLib:generateReleaseResources
:CordovaLib:packageReleaseResources
:CordovaLib:processReleaseManifest
:CordovaLib:generateReleaseBuildConfig
:CordovaLib:processReleaseResources
:CordovaLib:generateReleaseSources
:CordovaLib:incrementalReleaseJavaCompilationSafeguard
:CordovaLib:compileReleaseJavaWithJavac
:CordovaLib:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have 
changed, no previous execution, etc.).
Note: Some input files use or override a deprecated API.
Note: Recompile wi

[jira] [Updated] (CB-13541) Error: Path must be a string. Received undefined

2017-11-06 Thread Teguh Teknisi (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-13541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Teguh Teknisi updated CB-13541:
---
Environment: 
Kubuntu 17.04 64 bit, Gradle 3.2, Cordova Android 6.3.0, Cordova cli-6.3.0, 
Android Studio 3.0.0


  was:
Kubuntu 17.04 64 bit, Gradle 3.2, Cordova Android 6.3.0, Cordova cli-6.3.0



> Error: Path must be a string. Received undefined
> 
>
> Key: CB-13541
> URL: https://issues.apache.org/jira/browse/CB-13541
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-android
> Environment: Kubuntu 17.04 64 bit, Gradle 3.2, Cordova Android 6.3.0, 
> Cordova cli-6.3.0, Android Studio 3.0.0
>Reporter: Teguh Teknisi
>Assignee: Joe Bowser
>Priority: Trivial
>  Labels: newbie
>
> When i try to cordiva build android, it will fail, with error:
> Error: Path must be a string. Received undefined
> I have to delete platforms/android/android.json
> to make the cordova android build to success.
> Here the error log:
> {code:java}
> sukanime@Asus-X201EV:~/AndroidStudioProjects/SaklarWiFi$ cordova build android
> Error: Path must be a string. Received undefined
> sukanime@Asus-X201EV:~/AndroidStudioProjects/SaklarWiFi$ rm 
> platforms/android/android.json
> sukanime@Asus-X201EV:~/AndroidStudioProjects/SaklarWiFi$ cordova build android
> ANDROID_HOME=/home/sukanime/Android/Sdk
> JAVA_HOME=/usr/lib/jvm/java-8-oracle
> Subproject Path: CordovaLib
> The Task.leftShift(Closure) method has been deprecated and is scheduled to be 
> removed in Gradle 5.0. Please use Task.doLast(Action) instead.
> at 
> build_asz7izgfnstnapj05rr74ilff.run(/home/sukanime/AndroidStudioProjects/SaklarWiFi/platforms/android/build.gradle:141)
> The JavaCompile.setDependencyCacheDir() method has been deprecated and is 
> scheduled to be removed in Gradle 4.0.
> Incremental java compilation is an incubating feature.
> The TaskInputs.source(Object) method has been deprecated and is scheduled to 
> be removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() 
> instead.
> :clean
> :CordovaLib:clean
> BUILD SUCCESSFUL
> Total time: 3.13 secs
> Subproject Path: CordovaLib
> Subproject Path: CordovaLib
> Running command: 
> /home/sukanime/AndroidStudioProjects/SaklarWiFi/hooks/after_prepare/030_resource_files.js
>  /home/sukanime/AndroidStudioProjects/SaklarWiFi
> ANDROID_HOME=/home/sukanime/Android/Sdk
> JAVA_HOME=/usr/lib/jvm/java-8-oracle
> Subproject Path: CordovaLib
> The Task.leftShift(Closure) method has been deprecated and is scheduled to be 
> removed in Gradle 5.0. Please use Task.doLast(Action) instead.
> at 
> build_asz7izgfnstnapj05rr74ilff.run(/home/sukanime/AndroidStudioProjects/SaklarWiFi/platforms/android/build.gradle:141)
> The JavaCompile.setDependencyCacheDir() method has been deprecated and is 
> scheduled to be removed in Gradle 4.0.
> Incremental java compilation is an incubating feature.
> The TaskInputs.source(Object) method has been deprecated and is scheduled to 
> be removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() 
> instead.
> :preBuild UP-TO-DATE
> :preDebugBuild UP-TO-DATE
> :checkDebugManifest
> :preReleaseBuild UP-TO-DATE
> :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
> :CordovaLib:preReleaseBuild UP-TO-DATE
> :CordovaLib:checkReleaseManifest
> :CordovaLib:prepareReleaseDependencies
>

[jira] [Updated] (CB-13541) Error: Path must be a string. Received undefined

2017-11-06 Thread Teguh Teknisi (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-13541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Teguh Teknisi updated CB-13541:
---
Description: 
When i try to cordiva build android, it will fail, with error:
Error: Path must be a string. Received undefined

I have to delete platforms/android/android.json
to make the cordova android build to success.

Here the error log:
{code:java}
sukanime@Asus-X201EV:~/AndroidStudioProjects/SaklarWiFi$ cordova build android
Error: Path must be a string. Received undefined
sukanime@Asus-X201EV:~/AndroidStudioProjects/SaklarWiFi$ rm 
platforms/android/android.json
sukanime@Asus-X201EV:~/AndroidStudioProjects/SaklarWiFi$ cordova build android
ANDROID_HOME=/home/sukanime/Android/Sdk
JAVA_HOME=/usr/lib/jvm/java-8-oracle
Subproject Path: CordovaLib
The Task.leftShift(Closure) method has been deprecated and is scheduled to be 
removed in Gradle 5.0. Please use Task.doLast(Action) instead.
at 
build_asz7izgfnstnapj05rr74ilff.run(/home/sukanime/AndroidStudioProjects/SaklarWiFi/platforms/android/build.gradle:141)
The JavaCompile.setDependencyCacheDir() method has been deprecated and is 
scheduled to be removed in Gradle 4.0.
Incremental java compilation is an incubating feature.
The TaskInputs.source(Object) method has been deprecated and is scheduled to be 
removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() 
instead.
:clean
:CordovaLib:clean

BUILD SUCCESSFUL

Total time: 3.13 secs
Subproject Path: CordovaLib
Subproject Path: CordovaLib
Running command: 
/home/sukanime/AndroidStudioProjects/SaklarWiFi/hooks/after_prepare/030_resource_files.js
 /home/sukanime/AndroidStudioProjects/SaklarWiFi
ANDROID_HOME=/home/sukanime/Android/Sdk
JAVA_HOME=/usr/lib/jvm/java-8-oracle
Subproject Path: CordovaLib
The Task.leftShift(Closure) method has been deprecated and is scheduled to be 
removed in Gradle 5.0. Please use Task.doLast(Action) instead.
at 
build_asz7izgfnstnapj05rr74ilff.run(/home/sukanime/AndroidStudioProjects/SaklarWiFi/platforms/android/build.gradle:141)
The JavaCompile.setDependencyCacheDir() method has been deprecated and is 
scheduled to be removed in Gradle 4.0.
Incremental java compilation is an incubating feature.
The TaskInputs.source(Object) method has been deprecated and is scheduled to be 
removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() 
instead.
:preBuild UP-TO-DATE
:preDebugBuild UP-TO-DATE
:checkDebugManifest
:preReleaseBuild UP-TO-DATE
: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
:CordovaLib:preReleaseBuild UP-TO-DATE
:CordovaLib:checkReleaseManifest
:CordovaLib:prepareReleaseDependencies
:CordovaLib:compileReleaseAidl
:CordovaLib:compileReleaseNdk UP-TO-DATE
:CordovaLib:copyReleaseLint UP-TO-DATE
:CordovaLib:mergeReleaseShaders
:CordovaLib:compileReleaseShaders
:CordovaLib:generateReleaseAssets
:CordovaLib:mergeReleaseAssets
:CordovaLib:mergeReleaseProguardFiles UP-TO-DATE
:CordovaLib:packageReleaseRenderscript UP-TO-DATE
:CordovaLib:compileReleaseRenderscript
:CordovaLib:generateReleaseResValues
:CordovaLib:generateReleaseResources
:CordovaLib:packageReleaseResources
:CordovaLib:processReleaseManifest
:CordovaLib:generateReleaseBuildConfig
:CordovaLib:processReleaseResources
:CordovaLib:generateReleaseSources
:CordovaLib:incrementalReleaseJavaCompilationSafeguard
:CordovaLib:compileReleaseJavaWithJavac
:CordovaLib:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have 
changed, no previous execution, etc.).
Note: Some input files use or override a deprecated API.
Note: Recompile wi

[jira] [Created] (CB-13541) Error: Path must be a string. Received undefined

2017-11-06 Thread Teguh Teknisi (JIRA)
Teguh Teknisi created CB-13541:
--

 Summary: Error: Path must be a string. Received undefined
 Key: CB-13541
 URL: https://issues.apache.org/jira/browse/CB-13541
 Project: Apache Cordova
  Issue Type: Bug
  Components: cordova-android
 Environment: Kubuntu 17.04 64 bit, Gradle 3.2, Cordova Android 6.3.0, 
Cordova cli-6.3.0

Reporter: Teguh Teknisi
Assignee: Joe Bowser
Priority: Trivial


When i try to cordiva build android, it will fail, with error:
Error: Path must be a string. Received undefined

I have to delete platforms/android/android.json
to make the cordova android build to success.

Here the error log:
{code:java}
sukanime@Asus-X201EV:~/AndroidStudioProjects/SaklarWiFi$ cordova build android
Error: Path must be a string. Received undefined
sukanime@Asus-X201EV:~/AndroidStudioProjects/SaklarWiFi$ rm 
platforms/android/android.json
sukanime@Asus-X201EV:~/AndroidStudioProjects/SaklarWiFi$ cordova build android
ANDROID_HOME=/home/sukanime/Android/Sdk
JAVA_HOME=/usr/lib/jvm/java-8-oracle
Subproject Path: CordovaLib
The Task.leftShift(Closure) method has been deprecated and is scheduled to be 
removed in Gradle 5.0. Please use Task.doLast(Action) instead.
at 
build_asz7izgfnstnapj05rr74ilff.run(/home/sukanime/AndroidStudioProjects/SaklarWiFi/platforms/android/build.gradle:141)
The JavaCompile.setDependencyCacheDir() method has been deprecated and is 
scheduled to be removed in Gradle 4.0.
Incremental java compilation is an incubating feature.
The TaskInputs.source(Object) method has been deprecated and is scheduled to be 
removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() 
instead.
:clean
:CordovaLib:clean

BUILD SUCCESSFUL

Total time: 3.13 secs
Subproject Path: CordovaLib
Subproject Path: CordovaLib
Running command: 
/home/sukanime/AndroidStudioProjects/SaklarWiFi/hooks/after_prepare/030_resource_files.js
 /home/sukanime/AndroidStudioProjects/SaklarWiFi
ANDROID_HOME=/home/sukanime/Android/Sdk
JAVA_HOME=/usr/lib/jvm/java-8-oracle
Subproject Path: CordovaLib
The Task.leftShift(Closure) method has been deprecated and is scheduled to be 
removed in Gradle 5.0. Please use Task.doLast(Action) instead.
at 
build_asz7izgfnstnapj05rr74ilff.run(/home/sukanime/AndroidStudioProjects/SaklarWiFi/platforms/android/build.gradle:141)
The JavaCompile.setDependencyCacheDir() method has been deprecated and is 
scheduled to be removed in Gradle 4.0.
Incremental java compilation is an incubating feature.
The TaskInputs.source(Object) method has been deprecated and is scheduled to be 
removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() 
instead.
:preBuild UP-TO-DATE
:preDebugBuild UP-TO-DATE
:checkDebugManifest
:preReleaseBuild UP-TO-DATE
: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
:CordovaLib:preReleaseBuild UP-TO-DATE
:CordovaLib:checkReleaseManifest
:CordovaLib:prepareReleaseDependencies
:CordovaLib:compileReleaseAidl
:CordovaLib:compileReleaseNdk UP-TO-DATE
:CordovaLib:copyReleaseLint UP-TO-DATE
:CordovaLib:mergeReleaseShaders
:CordovaLib:compileReleaseShaders
:CordovaLib:generateReleaseAssets
:CordovaLib:mergeReleaseAssets
:CordovaLib:mergeReleaseProguardFiles UP-TO-DATE
:CordovaLib:packageReleaseRenderscript UP-TO-DATE
:CordovaLib:compileReleaseRenderscript
:CordovaLib:generateReleaseResValues
:CordovaLib:generateReleaseResources
:CordovaLib:packageReleaseResources
:CordovaLib:processReleaseManifest
:CordovaLib:generateReleaseBuildConfig
:CordovaLib:processReleaseRes