I need your help guys, im having a problem when building an APK... (see the image) it said "Access is denied" what should i do now?
My Java, Ant, Python, and Android SDK etc. Path are all in right place.
Here is the Full cmd: error : --------------
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Windows\system32>cd
C:\Windows\system32>cd C:\Users\Admin\Documents\RPGoutput\JAJJA\www
C:\Users\Admin\Documents\RPGoutput\JAJJA\www>python C:\crosswalk-10.39.235.16\ma
ke_apk.py --package=com.example.sample --manifest=manifest.json
Checking manifest file
Checking system requirements...ok
Starting application build (x86)
* Checking keystore for signing
No keystore provided for signing. Using xwalk's keystore for debugging.
Please use a valid keystore when distributing to the app market.
* Updating project with xwalk_core_library
Command "C:\Users\Admin\AppData\Local\Android\sdk\tools\android.bat update lib-p
roject --path C:\Users\Admin\AppData\Local\Temp\Sample-uph35pu3\xwalk_core_libra
ry --target android-25" exited with non-zero exit code 1
Traceback (most recent call last):
File "C:\crosswalk-10.39.235.16\make_apk.py", line 732, in <module>
sys.exit(main(sys.argv))
File "C:\crosswalk-10.39.235.16\make_apk.py", line 725, in main
CleanDir(GetBuildDir(app_info.android_name))
File "C:\crosswalk-10.39.235.16\util.py", line 27, in CleanDir
shutil.rmtree(path)
File "C:\Python34\lib\shutil.py", line 478, in rmtree
return _rmtree_unsafe(path, onerror)
File "C:\Python34\lib\shutil.py", line 368, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Python34\lib\shutil.py", line 368, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Python34\lib\shutil.py", line 368, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Python34\lib\shutil.py", line 373, in _rmtree_unsafe
onerror(os.unlink, fullname, sys.exc_info())
File "C:\Python34\lib\shutil.py", line 371, in _rmtree_unsafe
os.unlink(fullname)
PermissionError: [WinError 5] Access is denied: 'C:\\Users\\Admin\\AppData\\Loca
l\\Temp\\Sample-uph35pu3\\assets\\www\\js\\rpg_core.js'
C:\Users\Admin\Documents\RPGoutput\JAJJA\www>
-----------------------------------------------------
And this is my Python, Java, and Adroid SDK versions
My Java, Ant, Python, and Android SDK etc. Path are all in right place.
Here is the Full cmd: error : --------------
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Windows\system32>cd
C:\Windows\system32>cd C:\Users\Admin\Documents\RPGoutput\JAJJA\www
C:\Users\Admin\Documents\RPGoutput\JAJJA\www>python C:\crosswalk-10.39.235.16\ma
ke_apk.py --package=com.example.sample --manifest=manifest.json
Checking manifest file
Checking system requirements...ok
Starting application build (x86)
* Checking keystore for signing
No keystore provided for signing. Using xwalk's keystore for debugging.
Please use a valid keystore when distributing to the app market.
* Updating project with xwalk_core_library
Command "C:\Users\Admin\AppData\Local\Android\sdk\tools\android.bat update lib-p
roject --path C:\Users\Admin\AppData\Local\Temp\Sample-uph35pu3\xwalk_core_libra
ry --target android-25" exited with non-zero exit code 1
Traceback (most recent call last):
File "C:\crosswalk-10.39.235.16\make_apk.py", line 732, in <module>
sys.exit(main(sys.argv))
File "C:\crosswalk-10.39.235.16\make_apk.py", line 725, in main
CleanDir(GetBuildDir(app_info.android_name))
File "C:\crosswalk-10.39.235.16\util.py", line 27, in CleanDir
shutil.rmtree(path)
File "C:\Python34\lib\shutil.py", line 478, in rmtree
return _rmtree_unsafe(path, onerror)
File "C:\Python34\lib\shutil.py", line 368, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Python34\lib\shutil.py", line 368, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Python34\lib\shutil.py", line 368, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Python34\lib\shutil.py", line 373, in _rmtree_unsafe
onerror(os.unlink, fullname, sys.exc_info())
File "C:\Python34\lib\shutil.py", line 371, in _rmtree_unsafe
os.unlink(fullname)
PermissionError: [WinError 5] Access is denied: 'C:\\Users\\Admin\\AppData\\Loca
l\\Temp\\Sample-uph35pu3\\assets\\www\\js\\rpg_core.js'
C:\Users\Admin\Documents\RPGoutput\JAJJA\www>
-----------------------------------------------------
And this is my Python, Java, and Adroid SDK versions