Skip to content

Instantly share code, notes, and snippets.

@hotzenklotz
Created August 6, 2013 21:11
Show Gist options
  • Save hotzenklotz/6168676 to your computer and use it in GitHub Desktop.
Save hotzenklotz/6168676 to your computer and use it in GitHub Desktop.
Stopping b2g
adb shell stop b2g
adb shell rm -r /cache/*
rm failed for /cache/*, Permission denied
python build/install-gaia.py "adb" "/data/local" "profile"
push: profile/webapps/bluetooth.gaiamobile.org/manifest.webapp -> /data/local/webapps/bluetooth.gaiamobile.org/manifest.webapp
failed to copy 'profile/webapps/bluetooth.gaiamobile.org/manifest.webapp' to '/data/local/webapps/bluetooth.gaiamobile.org/manifest.webapp': Permission denied
Traceback (most recent call last):
File "build/install-gaia.py", line 188, in <module>
install_gaia()
File "build/install-gaia.py", line 168, in install_gaia
install_gaia_slow()
File "build/install-gaia.py", line 147, in install_gaia_slow
adb_push(profile_folder + '/webapps', webapps_path)
File "build/install-gaia.py", line 42, in adb_push
subprocess.check_call([adb_cmd, 'push', local, remote])
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 511, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['adb', 'push', 'profile/webapps', '/data/local/webapps']' returned non-zero exit status 1
make: *** [install-gaia] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment