mozilla / r2d2b2g

Firefox OS Simulator is a test environment for Firefox OS. Use it to test your apps in a Firefox OS-like environment that looks and feels like a mobile phone.
https://addons.mozilla.org/en-US/firefox/addon/firefox-os-simulator/
Other
392 stars 139 forks source link

Wrong directory when pushing web app to Android device #845

Open aumouvantsillage opened 10 years ago

aumouvantsillage commented 10 years ago

Hi. I am trying to push a web app from the Firefox OS simulator to an Android tablet (Nexus 7).

In the dashboard, the device appears as connected. When I click the "Push" button, the process starts correctly but the application is not installed on the device. The console shows the following error:

webappsRequest conn1.webapps8
about to send {
  "type": "install",
  "appId": "1b8b78da-278e-49d0-8c2c-2e38b8767e6e",
  "appType": 1,
  "receipts": [],
  "to": "conn1.webapps8"
}
info: r2d2b2g: adb: push onclose
response={
  "error": "badParameterType",
  "message": "missing directory /data/data/org.mozilla.firefox/app_tmpdir/b2g/1b8b78da-278e-49d0-8c2c-2e38b8767e6e",
  "from": "conn1.webapps8"
}

It seems that the temporary directory has an incorrect path: I suppose it should start with "/Android/data" instead of "/data/data".

Here are some details about my setup: