のねのBlog

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

Android

windows ubuntu ssh

uubunt.blogspot.jp

fatal: Not a valid object name: 'master'.

masterブランチがないので、作ろうとしたら、エラーになった。 $ git branch master fatal: Not a valid object name: 'master'.kuwasa.hatenablog.com

Skia SkEndianSwap16

226 /* 227 * Get a short from a buffer 228 * This method is unsafe, the caller is responsible for performing a check 229 */ 230 inline uint16_t get_short(uint8_t* buffer, uint32_t i) { 231 uint16_t result; 232 memcpy(&result, &(buffer[i]),…

Vs2015 Android SkiaLib

D:\android\git\libjpeg-turbo; d:\android\github\platform_external_libpng; D:\android\github\platform_external_skia\include\codec; d:\android\github\platform_external_skia\include\private; D:\android\github\platform_external_skia\src\codec;…

jack-admin server-stat

$ ./prebuilts/sdk/tools/jack-admin server-statGetting statistic from background server date: 1474023838867 [Fri Sep 16 20:03:58 JST 2016] server.compilation: 0 server.compilation.max: 0 server.compilation.current: 0 server.forward: 0 serve…

git --no-index

ブランチに、--no-indexを使うとエラーになる。 git diff --color-words --no-index remotes/origin/nougat-release remotes/origin/marshmallow-release > skia_diff.txt error: Could not access 'remotes/origin/nougat-release'>git diff --color-words …

git diff html

stackoverflow.com

git 差分

git diff remotes/origin/nougat-release remotes/origin/marshmallow-release windows git >git diff remotes/origin/nougat-release remotes/origin/marshmallow-release > skia_diff warning: inexact rename detection was skipped due to too many file…

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…

Android build error

Note: Recompile with -Xlint:unchecked for details. [ 30% 14176/47044] Building with Jack: out/t...ore-all_intermediates/with-local/classes.dex FAILED: /bin/bash out/target/common/obj/JAVA_LIBRARIES/core-all_intermediates/with-local/classes…

android build error

build/core/binary.mk:664: warning: overriding commands for target `out/host/linux-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto/frameworks/base/tools/aapt2/Format.pb.cc' build/core/binary.mk:664: warning: ignoring old commands for …

FT_GLYPH_FORMAT_COMPOSITE

FT_GLYPH_FORMAT_COMPOSITE The glyph image is a composite of several other images. This format is only used with FT_LOAD_NO_RECURSE, and is used to report compound glyphs (like accented characters). 2453 FT_LOCAL_DEF( FT_Error ) 2454 TT_Loa…

composite glyph

1655 /* otherwise, load a composite! */ 1656 else if ( loader->n_contours == -1 ) 1657 { 1658 FT_UInt start_point; 1659 FT_UInt start_contour; 1660 FT_ULong ins_pos; /* position of composite instructions, if any */ 1661 1662 1663 start_poi…

TT_CONFIG_OPTION_EMBEDDED_BITMAPS

30 #ifdef TT_CONFIG_OPTION_EMBEDDED_BITMAPS 31 #include "pngshim.c" 32 #include "ttsbit.c" 33 #endif

FT_DEFINE_SFNT_INTERFACE

565 #ifndef FT_CONFIG_OPTION_PIC 566 567 #define FT_DEFINE_SFNT_INTERFACE( \ 568 class_, \ 569 goto_table_, \ 570 init_face_, \ 571 load_face_, \ 572 done_face_, \ 573 get_interface_, \ 574 load_any_, \ 575 load_head_, \ 576 load_hhea_, \ …

ebdt

460 FT_DEFINE_SFNT_INTERFACE( 461 sfnt_interface, 462 tt_face_goto_table, 463 464 sfnt_init_face, 465 sfnt_load_face, 466 sfnt_done_face, 467 sfnt_get_interface, 468 469 tt_face_load_any, 470 471 tt_face_load_head, 472 tt_face_load_hhea, 4…

truetype cmap format 2 その2

Freetype2の場合: ※TT_PEAK_USHORTの場合、ポインタの場所を読む。(ポインタは進めない。) ※TT_NEXT_USHORTの場合、ポインタの場所を読み、ポインタを進める。 391 /* return sub header corresponding to a given character code */ 392 /* NULL on inval…

ARG_1_AND_2_ARE_WORDS

if ($flags & self::ARG_1_AND_2_ARE_WORDS) { if ($flags & self::ARGS_ARE_XY_VALUES) { $e = $font->readInt16(); $f = $font->readInt16(); } else { $point_compound = $font->readUInt16(); $point_component = $font->readUInt16(); } } else { if ($…

glib-2.46.2 ./configure --prefix=$HOME/usr

~/layout/oss/glib-2.46.2:$ ./configure --prefix=$HOME/usr

icu4c thaidict.txt

platform_external_icu4c/thaidict.txt at master 揃 android/platform_external_icu4c

brew doctor

mbp01:~ m_fujii$ brew doctor Please note that these warnings are just used to help the Homebrew maintainers with debugging if you file an issue. If everything you use Homebrew for is working fine: please don't worry and just ignore them. T…

calabash-android ERROR: Failed to build gem native extension.

>gem install calabash-android Fetching: builder-3.2.2.gem (100%) Fetching: diff-lcs-1.2.5.gem (100%) Fetching: multi_json-1.11.2.gem (100%) Fetching: gherkin-2.12.2-x86-mingw32.gem (100%) Fetching: multi_test-0.1.2.gem (100%) Fetching: cuc…