のねのBlog

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

Android

android monitor 'lib\monitor-\monitor'が見つかりません。

'lib\monitor-\monitor'が見つかりません。 名前を正しく入力したかどうかを確認してから、やり直してください。C:\Android\sdk\tools>monitor.bat Exception in thread "main" java.lang.UnsupportedClassVersionError: com/android/archquery/Main : Unsup…

opengapps-app-v9.apk

opengapps-app adb install opengapps-app-v9.apk

No editor info for this field. Bug?

Cross Reference: /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/InputAttributes.java 57 public InputAttributes(final EditorInfo editorInfo, final boolean isFullscreenMode, 58 final String packageNameForPrivateImeOpt…

android.os.DeadObjectException

12-23 07:42:00.782: W/LoaderManager(6579): Called doRetain when not started: LoaderManager{f3478ec in HostCallbacks{a38d233}} 12-23 07:42:00.782: W/LoaderManager(6579): java.lang.RuntimeException: here 12-23 07:42:00.782: W/LoaderManager(6…

python which

$ which pylint /Users/m/.pyenv/shims/pylint$ which pep8 /Users/m/.pyenv/shims/pep8$ which python /Users/m/.pyenv/shims/python $ python -V Python 3.4.5 :: Anaconda 2.3.0 (x86_64)

pylint error

[pylint] E0401:Unable to import 'dataset.mnist' [pylint] C0413:Import "from dataset.mnist import load_mnist" should be placed at the top of the module[pylint] E0401:Unable to import 'dataset.mnist'

conda config --show

$ conda config --show add_anaconda_token: True add_pip_as_python_dependency: True allow_softlinks: True always_copy: False always_yes: False auto_update_conda: True binstar_upload: None changeps1: True channel_alias: https://conda.anaconda…

mac anaconda

# Anacondaのインストール pyenv install anaconda3-2.1.0qiita.com $ pyenv versions system * 2.7.10 (set by /Users/u01/.pyenv/version) 2.7.9 3.4.3 anaconda3-2.3.0 $ pyenv global anaconda3-2.3.0 $ pyenv versions system 2.7.10 2.7.9 3.4.3 * ana…

Font collection must have at least one valid typeface

Cross Reference: /frameworks/minikin/libs/minikin/FontCollection.cpp 78 FontCollection::FontCollection(const vector<FontFamily*>& typefaces) : 79 mMaxChar(0) { 80 AutoMutex _l(gMinikinLock); 81 mId = sNextId++; 82 vector<uint32_t> lastChar; 83 size_t nTypefaces </uint32_t></fontfamily*>…

getClosestMatch

Cross Reference: /frameworks/minikin/libs/minikin/FontFamily.cpp 129 FakedFont FontFamily::getClosestMatch(FontStyle style) const { 130 const Font* bestFont = NULL; 131 int bestMatch = 0; 132 for (size_t i = 0; i < mFonts.size(); i++) { 13…

Android 7.0 AOSP make 時間

CPU:i7-6700K@4.00GHz Memory:24GBVmwareにUbuntu1604をインストールして計測。 Android 7.0 AOSPをビルドしたときの時間。VmWareのプロセッサ数を4にして計測。 CPUの物理コア数と同じときが速い。 make -j4 #### make completed successfully (01:34:24 (…

adb logcat

adb logcat $ adb logcat -h Unrecognized Option h Usage: logcat [options] [filterspecs] options include: -s Set default filter to silent. Like specifying filterspec '*:S' -f <filename> Log to file. Default is stdout --file=<filename> -r <kbytes> Rotate log every kbyte</kbytes></filename></filename>…

android bugreportの見方

"------"で検索すると、区切りがわかる。 ------ DUMPSYS MEMINFO (dumpsys -t 30 meminfo -a) ------ ------ 3.393s was the duration of 'DUMPSYS MEMINFO' ------ ------ DUMPSYS CPUINFO (dumpsys -t 10 cpuinfo -a) ------ ------ 0.055s was the durat…

android zoneinfo

# cat /proc/zoneinfo Node 0, zone DMA pages free 37112 min 1482 low 8023 high 8394 scanned 0 spanned 524288 present 482752 managed 420380 nr_free_pages 37112 nr_inactive_anon 39717 nr_active_anon 74593 nr_inactive_file 121583 nr_active_fil…

android procrank

# procrank PID Vss Rss Pss Uss Swap PSwap USwap ZSwap cmdline 714 2459924K 245344K 125515K 85416K 0K 0K 0K 0K system_server 899 1677284K 138224K 73528K 64364K 0K 0K 0K 0K com.android.systemui 2013 1747972K 133692K 62348K 49736K 0K 0K 0K 0K…

android dumpsys dumpstate

Cross Reference: /frameworks/native/cmds/dumpstate/dumpstate.cpp 638 static void dumpstate(const std::string& screenshot_path, const std::string& version) { 639 DurationReporter duration_reporter("DUMPSTATE"); 640 unsigned long timeout; 64…

android pss

gntm-mdk.hatenadiary.com

com.google.android.com.gms

Google Mobile Services (GMS) Android – Google Mobile Servicesstackoverflow.com

dumpMemoryUsage

379 #if DEBUG_MEMORY_USAGE 380 mCaches.dumpMemoryUsage(); 381 #else 382 if (CC_UNLIKELY(Properties::debugLevel & kDebugMemory)) { 383 caches.dumpMemoryUsage(); 384 } 385 #endif

flush

227 void Caches::clearGarbage() { 228 textureCache.clearGarbage(); 229 pathCache.clearGarbage(); 230 patchCache.clearGarbage(); 231 } 233 void Caches::flush(FlushMode mode) { 234 FLUSH_LOGD("Flushing caches (mode %d)", mode); 235 236 switc…

http://tools.oesf.biz/android-7.0.0_r1.0/xref/frameworks/base/libs/hwui/OpenGLRenderer.cpp#609 174 void OpenGLRenderer::clear(float left, float top, float right, float bottom, bool opaque) { 175 if (!opaque) { 176 mRenderState.scissor().se…

logCache

Cross Reference: /frameworks/base/libs/hwui/ResourceCache.cpp 31 void ResourceCache::logCache() { 32 ALOGD("ResourceCache: cacheReport:"); 33 for (size_t i = 0; i < mCache->size(); ++i) { 34 ResourceReference* ref = mCache->valueAt(i); 35 …

flushLargeCaches

Cross Reference: /frameworks/base/libs/hwui/FontRenderer.cpp 195 void FontRenderer::flushLargeCaches() { 196 flushLargeCaches(mACacheTextures); 197 flushLargeCaches(mRGBACacheTextures); 198 }

cr_Ime cr_AwContents

ChromeのWebViewのことかな?このログが似てるな stackoverflow.com

D/ActivityManager: Requesting PSS of: ProcessRecord{d148fde 5260:jp.dip.sys1.aozora/u0a101} D/ActivityManager: Requesting PSS of: ProcessRecord{7e939fd 13747:com.android.launcher3/u0a14} D/ActivityManager: Requesting PSS of: ProcessRecord{…

Did OOM ADJ in 0ms

長い関数だなー。 Cross Reference: /frameworks/base/services/core/java/com/android/server/am/ActivityManagerService.java 20500 final void updateOomAdjLocked() { 20501 final ActivityRecord TOP_ACT = resumedAppLocked(); 20502 final ProcessRec…

android monitor logcat filter

^(?!.*(QC-QMI|QCALOG|QMI_FW|ACDB-LOADER|WifiHAL|Fitness|QCOMPowerHAL)).*$

validate_display:99 error 3008 (EGL_BAD_DISPLAY)

E/libEGL(12869): validate_display:99 error 3008 (EGL_BAD_DISPLAY)Cross Reference: /frameworks/native/opengl/libs/EGL/egl.cpp 96 egl_display_ptr validate_display(EGLDisplay dpy) { 97 egl_display_ptr dp = get_display(dpy); 98 if (!dp) 99 ret…

PROCSTATE CHANGED

Cross Reference: /frameworks/base/services/core/java/com/android/server/am/ActivityManagerService.java 4090 private void dispatchProcessesChanged() { 4091 int N; 4092 synchronized (this) { 4093 N = mPendingProcessChanges.size(); 4094 if (m…

*** Delivering

Cross Reference: /frameworks/base/services/core/java/com/android/server/am/ActivityManagerService.java 4153 private void dispatchUidsChanged() { 4154 int N; 4155 synchronized (this) { 4156 N = mPendingUidChanges.size(); 4157 if (mActiveUid…

cch-empty

cch-emptyは、キャッシュエンプティかな? I/ActivityManager: Item :com.google.android.configupdater/u0: changes=2 procState=16 foreground=false type=cch-empty source=null target=nullCross Reference: /frameworks/base/services/core/java/com/an…

cch-empty

http://tools.oesf.biz/android-7.0.0_r1.0/xref/frameworks/base/core/java/com/android/internal/app/procstats/DumpUtils.java#66 63 public static final String[] STATE_NAMES_CSV = new String[] { 64 "pers", "top", "impfg", "impbg", "backup", "he…

couldn't log to binary event log: overflow

W/SurfaceFlinger: couldn't log to binary event log: overflow.Cross Reference: /frameworks/native/services/surfaceflinger/EventLog/EventLog.cpp 58 void EventLog::TagBuffer::log() { 59 if (mOverflow) { 60 ALOGW("couldn't log to binary event …

notifyActivityDrawn

Cross Reference: /frameworks/base/services/core/java/com/android/server/am/ActivityManagerService.java 3078 @Override 3079 public void notifyActivityDrawn(IBinder token) { 3080 if (DEBUG_VISIBILITY) Slog.d(TAG_VISIBILITY, "notifyActivityDr…

BatteryStatsService

system_process E/BatteryStatsService: no controller energy info suppliedCross Reference: /frameworks/base/services/core/java/com/android/server/am/BatteryStatsService.java 1390 /** 1391 * Helper method to extract the Parcelable controller …

java.lang.SecurityException: Permission Denial

GooglePlusContactsSync java.lang.SecurityException: Permission Denial: opening provider com.android.providers.contacts.ContactsProvider2 from ProcessRecord{f9109a2 27790: com.google.android.apps.plus/u0a81} (pid=27790, uid=10081) requires …

bugreport logcat

------ SYSTEM LOG (logcat -v threadtime -v printable -d *:v) ------adb logcat -v threadtime -v printable -d *:v>adb logcat -h Unrecognized Option h Usage: logcat [options] [filterspecs] options include: -s Set default filter to silent. Lik…

QCOMPowerHAL Failed to acquire lock.

xn--l8je9byecb9a3syb.xn--q9jyb4c

^(?!.*(QC-QMI)).*$

E/QC-QMI: qmi_client : unable to connect to server, errno=[2:No such file or directory], attempt=

11-09 00:35:02.067: E/QC-QMI(491): qmi_client [491]: unable to connect to server, errno=[2:No such file or directory], attempt=37 groups.google.com

android MultiWindowStateChangedEvent

Cross Reference: /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/activity/MultiWindowStateChangedEvent.java 25 public class MultiWindowStateChangedEvent extends EventBus.AnimatedEvent { 26 27 public final boolean…

android multi window

android:configChangesを使っていると再生成されないため再ロードが必要になる。qiita.com

Pico TTS has stopped

"Pico TTS has stopped" WifiをWPSでつなぐとき、表示された。 ちょっと、調べていたら、表示が消えた。

Google Play services keeps stopping

SettingsApp>Apps>Google Play servicesをクリックして、 Permissionsをすべて与えたら、表示されなくなった。

adb shell cmd package

$adb shell cmd package Package manager (package) commands: help Print this help text. compile [-m MODE | -r REASON] [-f] [-c] [--reset] [--check-prof (true | false)] (-a | TARGET-PACKAGE) Trigger compilation of TARGET-PACKAGE or all packag…

adb shell pm

$adb shell pm -h Error: unknown command '-h' usage: pm path [--user USER_ID] PACKAGE pm dump PACKAGE pm install [-lrtsfd] [-i PACKAGE] [--user USER_ID] [PATH] pm install-create [-lrtsfdp] [-i PACKAGE] [-S BYTES] [--install-location 0/1/2] …

applyConfigurationToResourcesLocked

Cross Reference: /frameworks/base/core/java/android/app/ResourcesManager.java 763 public final boolean applyConfigurationToResourcesLocked(@NonNull Configuration config, 764 @Nullable CompatibilityInfo compat) { 765 try { 766 Trace.traceBe…

AOSPのFrameworkのアプリでBreakを掛けてみる

Edit Configのクリック Projectを選ぶ Menu>Run>Edit Configurationsのクリック あたらしいConfigurationを作成 Debug Configurationsの画面で、"+をクリック" "Remoteをクリック" 何か設定に名前をつける。portを8700にする。OKをクリックする。 Break Poi…

dumpsys

moneyforward.com

MSB8028 The intermediate directory

MSB8028 The intermediate directory (x64\Debug\) contains files shared from another project This can lead to incorrect clean and rebuild behavior. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targetsstackoverflo…