在Ubuntun下Windows分区无法编译android

Issue

        In Ubuntun11.04,sometimes my /home disk  is not enough,so switch to /media/d: or /meida/e: to make Android,but  there are errors:

build for the simulator or the device?
     1. Device
     2. Simulator
Which would you like? [1] 1
/bin/bash: prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: Permission denied
/bin/bash: prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: Permission denied
/bin/bash: build/core/find-jdk-tools-jar.sh: Permission denied
/bin/bash: prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: Permission denied

Today I try toget android source code from http://source.android.com/source/downloading.html,when exec
 repo init -u https://android.googlesource.com/platform/manifest

get error:

fatal: unable to start /media/d:/DroidSourceFromGoogle/.repo/repo/main.py
fatal: [Errno 13] Permission denied

   But  in /home/, above 2 operations are  OK

TroubleShooting

   add following conten in /etc/fstab and restart:

#added by yuebao @20120312:enable make android in d:/e:
/dev/sda5 /media/d: ntfs user,exec,uid=yuebao,gid=yuebao 0 1
/dev/sda6 /media/e: ntfs user,exec,uid=yuebao,gid=yuebao 0 1

*change your uid & gid

Reference

ubuntu 系统中codeblocks 设置问题——解决编译找不到编译器路径,运行时出现permission denied情况




  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值