のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

2016-09-15から1日間の記事一覧

Android Studio AOSP

AOSP Sources in the IDE - NewCircle Training

別のフォルダでmakeしたとき

ヒープがたりないのかな? 4GB割り当てたんだけどな。VMのメモリを6Gから8Gへ増やしてみる。 Java heap space. Try increasing heap size with java option '-Xmx<size>'. Warning: This may have produced partial or corrupted output.warning: string 'map_defa</size>…

flash-allと flash-baseの違い

baseはbootloaderだけ書き換える。 $ cat flash-all.sh#!/bin/sh # Copyright 2012 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the Lic…

android studio lib

$ sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6 Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package lib32bz2-1.0 E: Couldn't find any package by glob '…

bash alias

alias fb='sudo `which fastboot`' alias cdout='cd $ANDROID_PRODUCT_OUT'

ubuntu fastboot error

$ fastboot devices no permissions (verify udev rules); see [http://developer.android.com/tools/device.html] fastbootEstablishing a Build Environment | Android Open Source Project Configuring USB Accessルート権限が必要なのか。 $ sudo /home/…

env android

$ env | grep ANDROID ANDROID_DEV_SCRIPTS=/home/user01/ng700_r1_org/android/development/scripts :/home/u01/ng700_r1_org/android/prebuilts/devtools/tools :/home/u01/ng700_r1_org/android/external/selinux/prebuilts/bin ANDROID_PRE_BUILD_PATHS=…

windowsのbashでrepo

$ repo init -u https://android.googlesource.com/platform/manifest -b android-7.0.0_r1$ repo syncrepo syncの途中でエラーが出た。 WindowsのDドライブのフォルダへ書いたのが問題なのかな? もう一回、repo syncをやってみたけど、同じエラーだ。 Chec…

git容量の大きなリポジトリ

qiita.com Maintaining a Git Repository - Atlassian Documentation ~/ng700_r1/android/frameworks/base$ git_find_big.sh All sizes are in kB's. The pack column is the size of the object, compressed, inside the pack file. size pack SHA location…