Code Monkey home page Code Monkey logo

gt's Introduction

[US English]

New Android Release: GT 3.1.0

What is GT?

GT (Great Tit) is a portable debugging tool for bug hunting and performance tuning on smartphones anytime and anywhere just as listening music with Walkman. GT can act as the Integrated Debug Environment by directly running on smartphones.

With the help of GT, you can carry out the following jobs only using one smartphone: quick performance tests (CPU, memory, flow, power, fluency tests etc.), viewing developer log and crash log, capturing the network packets, debugging the APP internal parameters and code time-consuming statistics.

If the functions GT provides cannot meet your requirements, you can also develop your own GT plugins with special functions to help solving more complicated debugging issues.

How to use?

GT are supported on both IOS and Android platforms.

The IOS GT is a Framework package, which must be compiled into your APPs before being used. It can be supported by both iPhone and iPad APPs.

The Android GT is composed of one GT console APP which can be installed directly and GT SDK. GT SDK must be embedded into the applications so that GT console can display the information and modify the parameters.

If you have more questions, welcome to join our QQ group: 145535035/364740349(full)/546237347(full)/415036792(full) .Note: when applying to join the QQ group please attach the following information: GT Communication

Source code description

The directory "android" is for Android GT version. The directory "ios" is for iOS GT version.

[Simplified Chinese]

Android GT新版本发布:GT 3.1.0

什么是GT?

GT(随身调)是APP的随身调试平台,它是直接运行在手机上的“集成调试环境”(IDTE, Integrated Debug Environment)。

利用GT,仅凭一部手机,无需连接电脑,即可对APP进行快速的性能测试(CPU、内存、流量、电量、帧率/流畅度等等)、开发日志的查看、Crash日志查看、网络数据包的抓取、APP内部参数的调试、真机代码耗时统计等。

如果您觉得GT提供的功能还不够满足您的需要,您还可以利用GT提供的基础API自行开发有特殊功能的GT插件,帮助您解决更加复杂的APP调试问题。

如何使用?

GT支持iOS和Android两个手机平台,其中:

iOS版是一个Framework包,必须嵌入APP工程,编译出带GT的APP才能使用;iPhone和iPad应用都能支持。

Android版由一个可直接安装的GT控制台APP和GT SDK组成,GT控制台可以独立安装使用,SDK需嵌入被调试的应用、并利用GT控制台进行信息展示和参数修改。

遇到问题请优先查阅网站上的faq,如无法解决请到Issues页提交问题。

使用交流请加QQ群:

145535035(请优先加此群)

364740349(已满)

415036792(已满)

546237347(已满),

申请加入QQ群时请提供如下信息:交流GT使用

源代码说明

android是Android版本GT。 ios是iOS版本GT。

相关开源工程

GTTools工具包主要提供给基于AndroidJUnit的测试脚本用于性能指标的采集和数据监控。

gt's People

Contributors

brianxcli avatar coolegos avatar joshaber avatar r551 avatar svengong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gt's Issues

JNI DETECTED ERROR IN APPLICATION: expected non-null method

重编sdk之后,集成到项目中,运行会崩溃。log:
java_vm_ext.cc:504] JNI DETECTED ERROR IN APPLICATION: expected non-null method
java_vm_ext.cc:504] in call to FromReflectedMethod
java_vm_ext.cc:504] from void com.kunpeng.pit.HookMain.findAndBackupAndHook(java.lang.Class, java.lang.String, java.lang.String, boolean, java.lang.reflect.Method, java.lang.reflect.Method, java.lang.reflect.Method)
java_vm_ext.cc:504] "main" prio=7 tid=1 Runnable
java_vm_ext.cc:504] | group="main" sCount=0 dsCount=0 flags=0 obj=0x731d8d70 self=0xe8390000
java_vm_ext.cc:504] | sysTid=26300 nice=-4 cgrp=default sched=0/0 handle=0xe86ba4a8
java_vm_ext.cc:504] | state=R schedstat=( 0 0 0 ) utm=190 stm=23 core=5 HZ=100
java_vm_ext.cc:504] | stack=0xff0aa000-0xff0ac000 stackSize=8MB
java_vm_ext.cc:504] | held mutexes= "mutator lock"(shared held)
java_vm_ext.cc:504] native: #00 pc 002c5ab7 /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+130)
java_vm_ext.cc:504] native: #1 pc 00359a6f /system/lib/libart.so (_ZNK3art6Thread9DumpStackERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMapb+202)
07-04 11:10:46.022 26300-26300/com.duowan.mobile A/zygote: java_vm_ext.cc:504] native: #2 pc 00355ec5 /system/lib/libart.so (_ZNK3art6Thread4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMapb+36)
java_vm_ext.cc:504] native: #3 pc 002306f1 /system/lib/libart.so (ZN3art9JavaVMExt8JniAbortEPKcS2+736)
java_vm_ext.cc:504] native: #4 pc 00230ae7 /system/lib/libart.so (_ZN3art9JavaVMExt9JniAbortVEPKcS2_St9__va_list+58)
java_vm_ext.cc:504] native: #5 pc 000d3237 /system/lib/libart.so (_ZN3art11ScopedCheck6AbortFEPKcz+46)
java_vm_ext.cc:504] native: #6 pc 000d373f /system/lib/libart.so (_ZN3art11ScopedCheck20CheckReflectedMethodERNS_18ScopedObjectAccessEP8_jobject+154)
java_vm_ext.cc:504] native: #7 pc 000be875 /system/lib/libart.so (_ZN3art8CheckJNI19FromReflectedMethodEP7_JNIEnvP8_jobject+464)
java_vm_ext.cc:504] native: #8 pc 000011cc /data/app/com.duowan.mobile-yPcshY0M8YK4e3xE5fe52A==/lib/arm/libyhook.so (Java_com_kunpeng_pit_HookMain_findAndBackupAndHook+528)
java_vm_ext.cc:504] native: #9 pc 00002567 /data/app/com.duowan.mobile-yPcshY0M8YK4e3xE5fe52A==/oat/arm/base.odex (Java_com_kunpeng_pit_HookMain_findAndBackupAndHook__Ljava_lang_Class_2Ljava_lang_String_2Ljava_lang_String_2ZLjava_lang_reflect_Method_2Ljava_lang_reflect_Method_2Ljava_lang_reflect_Method_2+246)
java_vm_ext.cc:504] at com.kunpeng.pit.HookMain.findAndBackupAndHook(Native method)
java_vm_ext.cc:504] at com.kunpeng.pit.HookMain.aoy(HookMain.java:75)
java_vm_ext.cc:504] at com.kunpeng.pit.HookMain.aox(HookMain.java:57)

GTDemo 3.1 启动失败

GT 3.1 Demo 安装后启动崩溃。

FATAL EXCEPTION: main
Process: com.gtr.sdkdemo, PID: 15551
android.util.SuperNotCalledException: Activity {com.gtr.sdkdemo/com.gtr.test.MainActivity} did not call through to super.onCreate()
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2281)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)
at android.app.ActivityThread.access$800(ActivityThread.java:151)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5254)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)

提示没有调用 super.onCreate() ,显然是调用了的。

Hook 失败的点:

findAndBackupAndHook ,targetMethod = 0
03-07 08:24:38.016 15760-15760/com.gtr.sdkdemo E/YAHFA-Native: Cannot find target method onAttach(Landroid/content/Context;)V
03-07 08:24:38.017 15760-15760/com.gtr.sdkdemo D/YHOOK: target method param count is 1
03-07 08:24:38.017 15760-15760/com.gtr.sdkdemo D/YAHFA-Native: findAndBackupAndHook

Start findAndBackupAndHook for method performDetach()V
03-07 08:24:38.029 15760-15760/com.gtr.sdkdemo D/YAHFA-Native: findAndBackupAndHook ,targetMethod = 0
03-07 08:24:38.030 15760-15760/com.gtr.sdkdemo E/YAHFA-Native: Cannot find target method performDetach()V
03-07 08:24:38.031 15760-15760/com.gtr.sdkdemo D/YHOOK: target method param count is 0
03-07 08:24:38.035 15760-15760/com.gtr.sdkdemo D/YAHFA-Native: findAndBackupAndHook

在application initsdk 大部分手机有空指针错误

用的是最新的sdk和jar,用的是直接compile的方式,在appliction的时候init
一加5运行正常,但是其他手机试了小米 华为 三星(8.0以下)都闪退了,而且都是这个错误
日志如下:
java.lang.RuntimeException: Unable to create application com.quvideo.xiaoying.DebugApplicationBase: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Object.hashCode()' on a null object reference
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4903)
at android.app.ActivityThread.access$1500(ActivityThread.java:182)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1554)
at android.os.Handler.dispatchMessage(Handler.java:111)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5682)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:963)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:758)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Object.hashCode()' on a null object reference
at com.tencent.wstt.gt.collector.monitor.yhook.DBHookList.openDatabase(DBHookList.java:133)
at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:1280)
at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:268)
at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:223)
at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:163)
at com.pingstart.adsdk.c.a.j(SourceFile:110)
at com.pingstart.adsdk.inner.model.a.a.m(SourceFile:24)
at com.pingstart.adsdk.inner.model.a.e.m(SourceFile:9)
at com.pingstart.adsdk.i.n.A(SourceFile:23)
at com.pingstart.adsdk.PingStartSDK.initializeSdk(SourceFile:50)
at com.pingstart.adsdk.PingStartSDK.initializeSdk(SourceFile:37)
at com.quvideo.xiaoying.ads.pingstart.PingStartSdkMgr.initSdk(PingStartSdkMgr.java:31)
at com.quvideo.xiaoying.ads.AbsAdGlobalMgr$1.onInitSdk(AbsAdGlobalMgr.java:30)
at com.quvideo.xiaoying.ads.AbsAdGlobalMgr$1.onInitSdk(AbsAdGlobalMgr.java:28)
at com.quvideo.xiaoying.ads.AbsAdGlobalMgr.initAdsSdk(AbsAdGlobalMgr.java:73)
at com.quvideo.xiaoying.ads.AbsAdGlobalMgr.initSdkInApplication(AbsAdGlobalMgr.java:28)
at com.quvideo.xiaoying.app.ApplicationBaseFlavor.initAdsSDK(ApplicationBaseFlavor.java:15)

我导入sdk的源码看,dbhookList类的133行代码进去就是返回空指针。而且看不到调用这个函数的地方,这个函数是so库里面调用的吗?

Nexus 6p流畅度测试

机型:Nexus 6p

问题:进入流畅度测试页面,点击检查提示OK,但是没有显示任何可以被调试的进程。另外在AUT页面,选择好调试应用然后点击启动后,启动按钮没有变化(没有像使用说明那样变为运行中和显示刷新按钮)。

无力吐槽的名字

quote from built-in dictionary in Mac OS X

tit |tɪt|
noun
①(songbird)山雀 shānquè
②taboo slang (woman's breast)奶子 nǎizi
③ British slang (fool)蠢货 chǔnhuò
④tit for tat
(blow for blow)以牙还牙yǐ yá huán yá
a tit-for-tat response
针锋相对的回应zhēn fēng xiāng duì de huíyìng

iOS 集成后工程无法调用到 Log 相关的接口

项目是用 swift 写的,桥接文件中也导入了头文件:#import "GT/GT.h",在项目的使用中,
func_initGT、func_setGTAutorotate 这些接口能调用得到,但是 log 相关的接口无法调用,比如 func_logInfo、func_logDebug 之类的

流畅度检测一直是 NOT OK

进入“流畅度调试”界面,点击检测,左上角显示 “NOT OK”。
按照提示,点击更改->点击重启。
点击检测,左上角仍然为 “NOT OK”。
重启平板,进入GT,流畅度调试界面,点击检测,左上角显示 “NOT OK”。

Android P奔溃问题

跟踪代码是初始化过程中调用 private static native void findAndBackupAndHook导致崩溃,可能是和Android禁用API反射导致吗,有没有什么解决方案

iOS Framework 不支持 bitcode

我讲project和target 都设置支持bit code,然后打包出来的framework还是不支持bitcode

Showing All Messages, Filtering for "bitcode".
export BITCODE_GENERATION_MODE=marker

export ENABLE_BITCODE=NO


export HIDE_BITCODE_SYMBOLS=YES


export OTHER_CFLAGS=-fembed-bitcode


export OTHER_CPLUSPLUSFLAGS=-fembed-bitcode


export STRIP_BITCODE_FROM_COPIED_FILES=NO

GT报告:CPU最高使用率低于CPU平均使用率

版本:3.1.0(使用master分支构建)
image
data.js:
var frontBackInfo={"backCpuApp":11,"backCpuArray":[0,0,0,0,0,0,0,0,0,0,0],"backCpuTotal":6049,"backFlowDownload":0,"backFlowUpload":0,"backMemoryArray":[15,13,14,14,15,15,15,14,14,14,15],"backTime":33713,"frontCpuApp":27,"frontCpuArray":[1,2],"frontCpuTotal":1091,"frontFlowDownload":0,"frontFlowUpload":0,"frontMemoryArray":[16,17],"frontTime":6048};

Undefined symbols for architecture arm64

OS :10.11.5
xcode:7.3.1

ld: warning: object file (/Users/Hellengo/vodka.ios/Frameworks/UMOnlineConfig/libUMOnlineConfig.a(OCUtil.o)) was built for newer iOS version (9.0) than being linked (8.0)
ld: warning: object file (/Users/Hellengo/vodka.ios/Frameworks/UMOnlineConfig/libUMOnlineConfig.a(UMOnlineConfig.o)) was built for newer iOS version (9.0) than being linked (8.0)
ld: warning: object file (/Users/Hellengo/vodka.ios/Frameworks/UMOnlineConfig/libUMOnlineConfig.a(OCOpenUDID.o)) was built for newer iOS version (9.0) than being linked (8.0)
Undefined symbols for architecture arm64:
"func_initGT()", referenced from:
-[AppDelegate application:didFinishLaunchingWithOptions:] in AppDelegate.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

But in my xcode,the arm64 is exist.

集成SDK后,被测应用在华为VNS-AL00上crash

4-30 03:06:43.960 14482-14482/? E/wpa_supplicant: RSSI=-49;LINKSPEED=72;NOISE=9999;FREQUENCY=2437;
04-30 03:06:43.961 1504-4841/? E/WifiConfigStore: updateConfiguration freq=2437 BSSID=0c:4b:54:79:ff:41 RSSI=-49 "amber-office-01"WPA_PSK
04-30 03:06:45.471 14482-14482/? E/wpa_supplicant: RSSI=-49;LINKSPEED=72;NOISE=9999;FREQUENCY=2437;
04-30 03:06:45.471 1504-4841/? E/WifiConfigStore: updateConfiguration freq=2437 BSSID=0c:4b:54:79:ff:41 RSSI=-49 "amber-office-01"WPA_PSK
04-30 03:06:45.616 1504-4414/? E/InputReader: QEEXO fs_classify_touch NULL, not calling FingerSense
04-30 03:06:45.649 1504-4414/? E/InputReader: QEEXO fs_touch_up NULL, not calling FingerSense
04-30 03:06:45.928 4237-4237/? E/YAHFA-Native: Cannot find target method performDetach()V
04-30 03:06:46.054 1504-5903/? E/HsmCoreServiceImpl: onTransact in code is: 102
04-30 03:06:46.198 4266-4266/? E/YAHFA-Native: Cannot find target method performDetach()V
04-30 03:06:46.332 1504-5901/? E/HsmCoreServiceImpl: onTransact in code is: 102
04-30 03:06:46.485 4297-4297/? E/YAHFA-Native: Cannot find target method performDetach()V
04-30 03:06:46.599 1504-5220/? E/HsmCoreServiceImpl: onTransact in code is: 102
04-30 03:06:46.977 14482-14482/? E/wpa_supplicant: RSSI=-49;LINKSPEED=72;NOISE=9999;FREQUENCY=2437;
04-30 03:06:46.977 1504-4841/? E/WifiConfigStore: updateConfiguration freq=2437 BSSID=0c:4b:54:79:ff:41 RSSI=-49 "amber-office-01"WPA_PSK
04-30 03:06:47.736 4326-4326/? E/YAHFA-Native: Cannot find target method performDetach()V
04-30 03:06:47.838 4326-4326/? E/CrashReport: --------------------------------------------------------------------------------------------
04-30 03:06:47.838 4326-4326/? E/CrashReport: --------------------------------------------------------------------------------------------
04-30 03:06:47.851 4326-4336/? A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x7ea5edb0a1 in tid 4336 (HeapTaskDaemon)
04-30 03:06:47.903 4053-4053/? E/DEBUG: unexpected waitpid response: n=4336, status=0000000b
04-30 03:06:47.903 4053-4053/? E/DEBUG: tid exited before attach completed: tid 4336
04-30 03:06:48.001 1504-5902/? E/HsmCoreServiceImpl: onTransact in code is: 102
04-30 03:06:48.179 589-589/? E/Thermal-daemon: [Thermal_Hw] temperature_valid, battery : temperature is invalid, invalid temperatrue is 34
04-30 03:06:48.179 589-589/? E/Thermal-daemon: [Thermal_Hw] temperature_filter: get invalid temperature, use old temp
04-30 03:06:48.182 589-589/? E/Thermal-daemon: [charger_ic] temp_new :41 temp_old :40
04-30 03:06:48.182 589-589/? E/Thermal-daemon: Report temperature: [charger_ic] temp :41 report_threshold:1
04-30 03:06:49.227 4363-4363/? E/YAHFA-Native: Cannot find target method performDetach()V
04-30 03:06:49.344 4363-4363/? E/CrashReport: --------------------------------------------------------------------------------------------
04-30 03:06:49.345 4363-4363/? E/CrashReport: --------------------------------------------------------------------------------------------
04-30 03:06:49.382 4363-4440/? A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x7ea70992b9 in tid 4440 (pool-2-thread-1)
04-30 03:06:49.413 4363-4447/? A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x7ea70992b9 in tid 4447 (BUGLY_THREAD)
04-30 03:06:49.463 1504-5577/? E/HsmCoreServiceImpl: onTransact in code is: 102
04-30 03:06:49.484 4053-4053/? E/DEBUG: unexpected waitpid response: n=4440, status=0000000b
04-30 03:06:49.484 4053-4053/? E/DEBUG: tid exited before attach completed: tid 4440
04-30 03:06:49.993 14482-14482/? E/wpa_supplicant: RSSI=-48;LINKSPEED=72;NOISE=9999;FREQUENCY=2437;
04-30 03:06:49.993 1504-4841/? E/WifiConfigStore: updateConfiguration freq=2437 BSSID=0c:4b:54:79:ff:41 RSSI=-48 "amber-office-01"WPA_PSK
04-30 03:06:50.687 4455-4455/? E/YAHFA-Native: Cannot find target method performDetach()V

运行GTDemo时出现android.util.SuperNotCalledException: Activity {com.gtr.sdkdemo/com.gtr.test.MainActivity} did not call through to super.onCreate()

在其他手机上也出现该问题
手机:魅族MX5
完整日志:
09/04 19:19:28: Launching app $ adb install-multiple -r -t /Users/momo/tmp/GTDemo/app/build/intermediates/split-apk/debug/dep/dependencies.apk /Users/momo/tmp/GTDemo/app/build/intermediates/split-apk/debug/slices/slice_9.apk /Users/momo/tmp/GTDemo/app/build/intermediates/split-apk/debug/slices/slice_8.apk /Users/momo/tmp/GTDemo/app/build/intermediates/split-apk/debug/slices/slice_5.apk /Users/momo/tmp/GTDemo/app/build/intermediates/split-apk/debug/slices/slice_3.apk /Users/momo/tmp/GTDemo/app/build/intermediates/split-apk/debug/slices/slice_6.apk /Users/momo/tmp/GTDemo/app/build/intermediates/split-apk/debug/slices/slice_0.apk /Users/momo/tmp/GTDemo/app/build/intermediates/split-apk/debug/slices/slice_7.apk /Users/momo/tmp/GTDemo/app/build/intermediates/split-apk/debug/slices/slice_4.apk /Users/momo/tmp/GTDemo/app/build/intermediates/split-apk/debug/slices/slice_2.apk /Users/momo/tmp/GTDemo/app/build/intermediates/split-apk/debug/slices/slice_1.apk /Users/momo/tmp/GTDemo/app/build/outputs/apk/debug/app-debug.apk Split APKs installed $ adb shell am start -n "com.gtr.sdkdemo/com.gtr.test.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER Connected to process 5642 on device meizu-mx5-850BBM722TSG Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page. W/linker: /system/lib64/libfilterUtils.so: unused DT entry: type 0x6ffffffe arg 0x808 W/linker: /system/lib64/libfilterUtils.so: unused DT entry: type 0x6fffffff arg 0x2 I/InstantRun: starting instant run server: is main process I/System.out: GTRLogcatCacheFinish:1536059979334 W/linker: /data/app/com.gtr.sdkdemo-1/lib/arm64/libyhook.so: unused DT entry: type 0x6ffffffe arg 0x6a0 W/linker: /data/app/com.gtr.sdkdemo-1/lib/arm64/libyhook.so: unused DT entry: type 0x6fffffff arg 0x1 I/YAHFA-Native: init to SDK 22 I/YAHFA-Native: Start findAndBackupAndHook for method callActivityOnCreate(Landroid/app/Activity;Landroid/os/Bundle;)V W/YAHFA-Native: not enough capacity. Allocating... I/YAHFA-Native: Allocating done hook and backup done I/YAHFA-Native: Start findAndBackupAndHook for method callActivityOnPause(Landroid/app/Activity;)V hook and backup done I/YAHFA-Native: Start findAndBackupAndHook for method callActivityOnResume(Landroid/app/Activity;)V hook and backup done I/YAHFA-Native: Start findAndBackupAndHook for method callActivityOnStart(Landroid/app/Activity;)V hook and backup done I/YAHFA-Native: Start findAndBackupAndHook for method callActivityOnStop(Landroid/app/Activity;)V hook and backup done I/YAHFA-Native: Start findAndBackupAndHook for method execStartActivity(Landroid/content/Context;Landroid/os/IBinder;Landroid/os/IBinder;Landroid/app/Activity;Landroid/content/Intent;ILandroid/os/Bundle;)Landroid/app/Instrumentation$ActivityResult; hook and backup done I/YAHFA-Native: Start findAndBackupAndHook for method beginTransaction()V hook and backup done I/YAHFA-Native: Start findAndBackupAndHook for method enableWriteAheadLogging()Z hook and backup done I/YAHFA-Native: Start findAndBackupAndHook for method endTransaction()V hook and backup done I/YAHFA-Native: Start findAndBackupAndHook for method execute()V hook and backup done I/YAHFA-Native: Start findAndBackupAndHook for method executeInsert()J hook and backup done I/YAHFA-Native: Start findAndBackupAndHook for method executeUpdateDelete()I hook and backup done I/YAHFA-Native: Start findAndBackupAndHook for method openDatabase(Ljava/lang/String;Landroid/database/sqlite/SQLiteDatabase$CursorFactory;ILandroid/database/DatabaseErrorHandler;)Landroid/database/sqlite/SQLiteDatabase; I/YAHFA-Native: hook and backup done I/YAHFA-Native: Start findAndBackupAndHook for method rawQueryWithFactory(Landroid/database/sqlite/SQLiteDatabase$CursorFactory;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Landroid/os/CancellationSignal;)Landroid/database/Cursor; I/YAHFA-Native: hook and backup done I/YAHFA-Native: Start findAndBackupAndHook for method onAttach(Landroid/content/Context;)V E/YAHFA-Native: Cannot find target method onAttach(Landroid/content/Context;)V I/YAHFA-Native: Start findAndBackupAndHook for method onHiddenChanged(Z)V hook and backup done I/YAHFA-Native: Start findAndBackupAndHook for method performActivityCreated(Landroid/os/Bundle;)V hook and backup done I/YAHFA-Native: Start findAndBackupAndHook for method performCreate(Landroid/os/Bundle;)V I/YAHFA-Native: hook and backup done Start findAndBackupAndHook for method performCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View; hook and backup done I/YAHFA-Native: Start findAndBackupAndHook for method performDestroy()V I/YAHFA-Native: hook and backup done Start findAndBackupAndHook for method performDestroyView()V hook and backup done I/YAHFA-Native: Start findAndBackupAndHook for method performDetach()V E/YAHFA-Native: Cannot find target method performDetach()V I/YAHFA-Native: Start findAndBackupAndHook for method performPause()V hook and backup done Start findAndBackupAndHook for method performResume()V I/YAHFA-Native: hook and backup done I/YAHFA-Native: Start findAndBackupAndHook for method performStart()V I/YAHFA-Native: hook and backup done I/YAHFA-Native: Start findAndBackupAndHook for method performStop()V hook and backup done I/YAHFA-Native: Start findAndBackupAndHook for method setUserVisibleHint(Z)V hook and backup done I/YAHFA-Native: Start findAndBackupAndHook for method onAttach(Landroid/content/Context;)V I/YAHFA-Native: hook and backup done Start findAndBackupAndHook for method onHiddenChanged(Z)V hook and backup done I/YAHFA-Native: Start findAndBackupAndHook for method performActivityCreated(Landroid/os/Bundle;)V hook and backup done I/YAHFA-Native: Start findAndBackupAndHook for method performCreate(Landroid/os/Bundle;)V hook and backup done I/YAHFA-Native: Start findAndBackupAndHook for method performCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View; hook and backup done Start findAndBackupAndHook for method performDestroy()V I/YAHFA-Native: hook and backup done Start findAndBackupAndHook for method performDestroyView()V hook and backup done I/YAHFA-Native: Start findAndBackupAndHook for method performDetach()V hook and backup done I/YAHFA-Native: Start findAndBackupAndHook for method performPause()V hook and backup done I/YAHFA-Native: Start findAndBackupAndHook for method performResume()V hook and backup done Start findAndBackupAndHook for method performStart()V hook and backup done I/YAHFA-Native: Start findAndBackupAndHook for method performStop()V hook and backup done I/YAHFA-Native: Start findAndBackupAndHook for method setUserVisibleHint(Z)V hook and backup done I/YAHFA-Native: Start findAndBackupAndHook for method dispatchTouchEvent(Landroid/view/MotionEvent;)Z hook and backup done Start findAndBackupAndHook for method onKeyDown(ILandroid/view/KeyEvent;)Z I/YAHFA-Native: hook and backup done Start findAndBackupAndHook for method onKeyUp(ILandroid/view/KeyEvent;)Z hook and backup done I/YAHFA-Native: Start findAndBackupAndHook for method inflate(ILandroid/view/ViewGroup;)Landroid/view/View; hook and backup done I/YAHFA-Native: Start findAndBackupAndHook for method dispatchDraw(Landroid/graphics/Canvas;)V hook and backup done E/AndroidRuntime: FATAL EXCEPTION: main Process: com.gtr.sdkdemo, PID: 5642 android.util.SuperNotCalledException: Activity {com.gtr.sdkdemo/com.gtr.test.MainActivity} did not call through to super.onCreate() at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2620) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2733) at android.app.ActivityThread.access$900(ActivityThread.java:187) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1584) at android.os.Handler.dispatchMessage(Handler.java:111) at android.os.Looper.loop(Looper.java:194) at android.app.ActivityThread.main(ActivityThread.java:5877) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1019) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:814) I/Process: Sending signal. PID: 5642 SIG: 9 Application terminated.

编译报错

Hello:

Error:Execution failed for task ':app:compileDebugNdk'.

Error: Flag android.useDeprecatedNdk is no longer supported and will be removed in the next version of Android Studio. Please switch to a supported build system.
Consider using CMake or ndk-build integration. For more information, go to:
https://d.android.com/r/studio-ui/add-native-code.html#ndkCompile
To get started, you can use the sample ndk-build script the Android
plugin generated for you at:
/media/matthew/Android-studio-work/android-GT/app/build/intermediates/ndk/debug/Android.mk
Alternatively, you can use the experimental plugin:
https://developer.android.com/r/tools/experimental-plugin.html
To continue using the deprecated NDK compile for another 60 days, set
android.deprecatedNdkCompileLease=1516589459808 in gradle.properties

怎么解决???

Thanks.

GT能否获取RSS内存数据?

伟大的GT团队,你们好!
目前内存方面,应该是获取的PSS数据;能否支持配置增加对RSS的获取和展示呢? 包括指定某个APP对CPU的占用,而不是CPU整体被全部消耗了多少? O(∩_∩)O谢谢

配置完成后在不同机型上运行 直接crash

在华为 nem-al 10 上运行 直接carsh,下面是log

java.lang.RuntimeException: Error receiving broadcast Intent { act=GTR.GTRBroadcastReceiver flg=0x10 (has extras) } in com.tencent.wstt.gt.controller.GTRBroadcastReceiver@7757afc

同样的应用在OPPO上就没问题

流畅度测试

感觉流畅度测试的工具好像不太准,一直都是60,在明显有卡顿的地方也是。只有在界面切换的时候才显示其他数值

集成SDK后,VIVO X7手机上崩溃了,以下为Crash的log

1 #00 pc 0022f78a /system/lib/libart.so (_ZN3art19ReferenceMapVisitorINS_19RootCallbackVisitorEE15VisitQuickFrameEv+309) [armeabi-v7a::27b3ace2fc861279cfe1623dc87a100d]
--
2 #01 pc 0022fd8b /system/lib/libart.so (_ZN3art19ReferenceMapVisitorINS_19RootCallbackVisitorEE10VisitFrameEv+190) [armeabi-v7a::27b3ace2fc861279cfe1623dc87a100d]
3 #02 pc 00224177 /system/lib/libart.so (_ZN3art12StackVisitor9WalkStackEb+254) [armeabi-v7a::27b3ace2fc861279cfe1623dc87a100d]
4 #03 pc 00225d77 /system/lib/libart.so (_ZN3art6Thread10VisitRootsEPFvPPNS_6mirror6ObjectEPvRKNS_8RootInfoEES5_+974) [armeabi-v7a::27b3ace2fc861279cfe1623dc87a100d]
5 #04 pc 001288d5 /system/lib/libart.so (_ZN3art2gc9collector25CheckpointMarkThreadRoots3RunEPNS_6ThreadE+116) [armeabi-v7a::27b3ace2fc861279cfe1623dc87a100d]
6 #05 pc 002322e1 /system/lib/libart.so (_ZN3art10ThreadList13RunCheckpointEPNS_7ClosureE+280) [armeabi-v7a::27b3ace2fc861279cfe1623dc87a100d]
7 #06 pc 00127691 /system/lib/libart.so (_ZN3art2gc9collector9MarkSweep19MarkRootsCheckpointEPNS_6ThreadEb+80) [armeabi-v7a::27b3ace2fc861279cfe1623dc87a100d]
8 #07 pc 00127e9d /system/lib/libart.so (_ZN3art2gc9collector9MarkSweep9MarkRootsEPNS_6ThreadE+96) [armeabi-v7a::27b3ace2fc861279cfe1623dc87a100d]
9 #08 pc 0012ae6f /system/lib/libart.so (_ZN3art2gc9collector9MarkSweep12MarkingPhaseEv+102) [armeabi-v7a::27b3ace2fc861279cfe1623dc87a100d]
10 #09 pc 0012af47 /system/lib/libart.so (_ZN3art2gc9collector9MarkSweep9RunPhasesEv+158) [armeabi-v7a::27b3ace2fc861279cfe1623dc87a100d]
11 #10 pc 00122547 /system/lib/libart.so (_ZN3art2gc9collector16GarbageCollector3RunENS0_7GcCauseEb+234) [armeabi-v7a::27b3ace2fc861279cfe1623dc87a100d]
12 #11 pc 001403d5 /system/lib/libart.so (_ZN3art2gc4Heap22CollectGarbageInternalENS0_9collector6GcTypeENS0_7GcCauseEb+1332) [armeabi-v7a::27b3ace2fc861279cfe1623dc87a100d]
13 #12 pc 00142793 /system/lib/libart.so (_ZN3art2gc4Heap16ConcurrentGCTask3RunEPNS_6ThreadE+58) [armeabi-v7a::27b3ace2fc861279cfe1623dc87a100d]
14 #13 pc 001538fb /system/lib/libart.so (_ZN3art2gc13TaskProcessor11RunAllTasksEPNS_6ThreadE+38) [armeabi-v7a::27b3ace2fc861279cfe1623dc87a100d]
15 #14 pc 000003df /system/framework/arm/boot.oat [armeabi::5102720f73b1db2b30a9faea0138bf59]

GT 2.2.5.5 no Responding after root on Flyme OS 4.5.0.4Q

I am using M571C with Flyme OS 4.5.0.4Q base on Android 5.1.
and GT 2.2.5.5.
When I am not root my device, all things works fine.
but after I root my device, And I allow the GT, GT is no responding.
When I disallow the GT,
The notification shows Version:Release 2.2 GT is running.
The GT is crash.

本机环境:
魅族 魅蓝Note2 电信版(机器型号:M571C) 操作系统:Flyme OS 4.5.0.4Q(基于Android5.1)
使用GT2.2.5.5
问题描述:
在未root手机之前,使用GT基本功能正常;
在root手机之后(并允许GT),GT启动后无响应;
在root手机之后(并禁止GT),GT启动后无响应,通知栏显示:Version:Release 2.2 GT is running;

iPad设置横屏参数不起作用

iPad mini4 iOS10.3.3
Xcode:9.4.1
MacOS:10.13.4
Swift工程配置文件内容如下:
GT_DEBUG_INIT;
GT_DEBUG_SET_SUPPORT_ORIENTATIONS(UIInterfaceOrientationMaskLandscape);
default

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.