Comments (7)
@hanooyang exception信息能够截全一点,就是异常类型也截取进去。
from gautomator.
@wukenaihe 不好意思,刚才修改的时候手滑不小心把第一行信息给删掉了
An exception was thrown by the type initializer for WeTest.U3DAutomation.AndroidRobot
from gautomator.
@hanooyang 只有这么多?另外,控件选择之后,GAutomatorView能够用红色正确框出来吗?
from gautomator.
@wukenaihe 上边的是我发送点击命令时报的,这里在刚加载游戏时还有一个异常:
Exception has been thrown by the target of an invocation. at System.Reflection.MonoCMethod.Invoke(System.Object obj, BindingFlags invokeAttr,
System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)[0x00124] in /Users/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:519
at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr,System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)[0x00000] in /Users/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:528
at System.Activator.CreateInstance(System.Type type, BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes)[0x001b8] in /Users/buildslave/mono/build/mcs/class/corlib/System/Activator.cs:338
at System.Reflection.Assembly.CreateInstance (System.String typrName, Boolean ignoreCase, BindingFlags bindingAttr, System.Reflection.Binder binder,System.Object[] args,System.Globalization.CultureInfo culture,System.Object[] activationAttributes)[0x00012] in /Users/buildslave/mono/build/mcs/class/corlib/System.Reflection/Assembly.cs:730
at WeTest.U3DAutomation.AndroidJavaObjectWrapper..ctor(System.String className,System.Object[] args)[0x00000] in <filename unknown>:0
at WeTest.U3DAutomation.CrashMonitor.get_WetestAgent()[0x00000] in <filename unknwon>:0
WeTest.U3DAutomation.Logger:w(String)
我这里拿到的关于GAutomator的log就只有这么多咯
from gautomator.
@hanooyang 你能确认下游戏中是否集成u3dautomation.jar了?可以用反编译看看的。用zip工具打开,然后class.dex用dex2jar转换成jar。jar查看,你可以用jd-gui-windows,看看里面有没有com.tencent.wetest.U3DAutomation
from gautomator.
@wukenaihe 我刚才看了一下,确实没有com.tencent.wetest.U3DAutomation。 我们的项目是使用gradle打包的,是不是这个原因呢?如果使用gradle打包,build.gradle该如何配置呢?
from gautomator.
@hanooyang 非常抱歉,这个我们还真没试过,这个可能不太好解答。u3dautomation.jar的打包方式,应该与unity工程中的其他jar打包方式是一样的
from gautomator.
Related Issues (20)
- 文件注释有乱码 HOT 2
- UE4 call_registered_handler 实现建议 HOT 1
- 多台手机都会时不时偶现ue sdk 连接问题,目前看能获取到python 端的请求,但返回数据给python 端出问题 HOT 2
- 按照步骤没有出现“U3DAutomation init OK”
- 模拟器正常运行,手机上报这个错 open: Permission denied HOT 1
- 我用了最新的apm-wda,和xcode12,兼容xcode12,wda都弄好了,但是wetets-plugin-pycharm这个工具总是报错,有人帮忙看一下吗
- 获取click位置不准确
- ue4 click失效
- click_position_by_engine里的按下默认参数50是毫秒么?
- 建议:UE4 SDK支持通过UWidget的UniqueID定位元素
- GA的Android跟iOS为什么代码没有整理到一起啊?
- get_sdk_version这里报错:AttributeError: 'NoneType' object has no attribute 'get'
- UE5加入SDK后报 fatal error: 'Runnable.h' file not found,是不是不兼容UE5呢?
- 支持windows系统吗 HOT 1
- 成功集成了SDK,但在录制过程中无法获取UITree
- 您好,现在有支持fgui的sdk了么?或者我如何编写这样的sdk代码,求教
- 关于 gautomaterview 点击update screen error报错
- 如何终止main.py
- 如何关闭GAutomator的log?
- 无源码,如何使用该工具 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gautomator.