diff --git a/.idea/compiler.xml b/.idea/compiler.xml
index 2fbfd9c..8f32900 100644
--- a/.idea/compiler.xml
+++ b/.idea/compiler.xml
@@ -5,14 +5,14 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
diff --git a/app/release/atom-latest.apk b/app/release/atom-latest.apk
index d2a889c..a751b78 100644
Binary files a/app/release/atom-latest.apk and b/app/release/atom-latest.apk differ
diff --git a/app/release/output.json b/app/release/output.json
index df4c1d7..941d6b2 100644
--- a/app/release/output.json
+++ b/app/release/output.json
@@ -1 +1 @@
-[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":174,"versionName":"1.7.4","enabled":true,"outputFile":"atom-latest.apk","fullName":"release","baseName":"release"},"path":"atom-latest.apk","properties":{}}]
\ No newline at end of file
+[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":175,"versionName":"1.7.5","enabled":true,"outputFile":"atom-latest.apk","fullName":"release","baseName":"release"},"path":"atom-latest.apk","properties":{}}]
\ No newline at end of file
diff --git a/app/src/main/java/com/fisherbone/fuzhu/activity/ControlWindow.java b/app/src/main/java/com/fisherbone/fuzhu/activity/ControlWindow.java
index 39b9e32..04e7593 100644
--- a/app/src/main/java/com/fisherbone/fuzhu/activity/ControlWindow.java
+++ b/app/src/main/java/com/fisherbone/fuzhu/activity/ControlWindow.java
@@ -127,6 +127,11 @@ public class ControlWindow {
AblStepHandler.sendMsg(AblSteps.STEP_130);
break;
case "7":
+ //潜在客户加关(大咖)
+ stutas(ChangLiang.isrun);
+ AblStepHandler.sendMsg(AblSteps.STEP_231);
+ break;
+ case "71":
//潜在客户加关(大咖)
stutas(ChangLiang.isrun);
AblStepHandler.sendMsg(AblSteps.STEP_170);
@@ -244,10 +249,15 @@ public class ControlWindow {
stutas(ChangLiang.isrun);
AblStepHandler.sendMsg(AblSteps.STEP_130);
break;
- case "7"://潜在客户加关(大咖)
+ case "71"://潜在客户加关(大咖)
stutas(ChangLiang.isrun);
AblStepHandler.sendMsg(AblSteps.STEP_170);
break;
+
+ case "7":
+ stutas(ChangLiang.isrun);
+ AblStepHandler.sendMsg(AblSteps.STEP_231);
+ break;
case "8"://潜在客户加关(关键词)
stutas(ChangLiang.isrun);
AblStepHandler.sendMsg(AblSteps.STEP_160);
diff --git a/app/src/main/java/com/fisherbone/fuzhu/step/HongbaoBase.java b/app/src/main/java/com/fisherbone/fuzhu/step/HongbaoBase.java
index aaceb94..ea123c7 100644
--- a/app/src/main/java/com/fisherbone/fuzhu/step/HongbaoBase.java
+++ b/app/src/main/java/com/fisherbone/fuzhu/step/HongbaoBase.java
@@ -174,8 +174,8 @@ class HongbaoBase extends BaseAblStep implements RedEnv.RedEnvFunc, RedEnv.TimeF
// Log.e("TIAOSHI###", "----oneNode:" + child.getClassName() + ":" + child.getText() + ":" + child.getContentDescription());
for (int y = 0; y < child.getChildCount(); y++) {
AccessibilityNodeInfo child1 = child.getChild(y);
- Log.e("TIAOSHI###", "----twoNode:" + child1.getClassName() + ":" + child1.getText() + ":" + child1.getContentDescription());
- nodeZuobiao(child1);
+// Log.e("TIAOSHI###", "----twoNode:" + child1.getClassName() + ":" + child1.getText() + ":" + child1.getContentDescription());
+// nodeZuobiao(child1);
if ("android.widget.RelativeLayout".equals(child1.getClassName())) {
if (child1.getContentDescription() != null) {
if (child1.getContentDescription().equals("礼物")) {
@@ -209,7 +209,7 @@ class HongbaoBase extends BaseAblStep implements RedEnv.RedEnvFunc, RedEnv.TimeF
if (child2 != null) {
child2.getBoundsInScreen(rect);
if (rect.top >= 2092 && rect.bottom <= 2151 && rect.left >= 800) {
- Log.e("TIAOSHI###", "----threeNode:" + child2.getClassName() + ":" + child2.getText() + ":" + child2.getContentDescription());
+ // Log.e("TIAOSHI###", "----threeNode:" + child2.getClassName() + ":" + child2.getText() + ":" + child2.getContentDescription());
if ("android.widget.TextView".equals(child2.getClassName())) {
if (child2.getText() != null) {
String s = child2.getText().toString();
diff --git a/app/src/main/java/com/fisherbone/fuzhu/step/TestAblStep0.java b/app/src/main/java/com/fisherbone/fuzhu/step/TestAblStep0.java
index a5da137..1c96f1d 100644
--- a/app/src/main/java/com/fisherbone/fuzhu/step/TestAblStep0.java
+++ b/app/src/main/java/com/fisherbone/fuzhu/step/TestAblStep0.java
@@ -16,8 +16,11 @@ import com.fisherbone.fuzhu.abllib.BaseAblStep;
import com.fisherbone.fuzhu.abllib.utils.AblViewUtil;
import com.fisherbone.fuzhu.db.DouyinBean;
import com.fisherbone.fuzhu.entity.LiveBean;
+import com.fisherbone.fuzhu.entity.LiwuBean;
+import com.fisherbone.fuzhu.entity.RedEnvBean;
import com.fisherbone.fuzhu.utils.EmojiFilter;
import com.fisherbone.fuzhu.utils.ProfileSpUtils;
+import com.google.gson.Gson;
import java.util.ArrayList;
import java.util.List;
@@ -29,130 +32,39 @@ public class TestAblStep0 extends BaseAblStep {
private String substring = "1000000";//当前的关注数
public String IFCONTIAN = "x";
private int liwusubstring;
+ private RedEnvBean redEnvBean;
@Override
public void onStep(int step, Message msg) {
switch (step) {
case AblSteps.STEP_1:
AblViewUtil.startApplication();
AblStepHandler.sendMsg(AblSteps.STEP_2);
-
+ redEnvBean = ProfileSpUtils.getInstance().getRedEnvBean();
break;
case AblSteps.STEP_2:
AblViewUtil.mySleep(5);
-// getNodeInfoh();
-// LiveBean liveBean1 = ProfileSpUtils.getInstance().getLiveBean();
-// String liwunum = liveBean1.getLiwucishu();
-// int fastnum = Integer.valueOf(liwunum);
-// faliwu("大啤酒",2,fastnum);
+// getNodeInfoh();
- getdoubsi();
+ //点开礼物
+ clickmoreli();
+ Log.e("TIAOSHI###", "打开礼物");
+ AblViewUtil.mySleep(1);
+ int doubinum = dangqianDoubi();
+ Log.e("TIAOSHI###当前抖币数",doubinum+"");
+ AblViewUtil.mySleep(2);
+ clickmenu("5");
+ AblViewUtil.mySleep(2);
+ int geliwu = geliwu("");
+ Log.e("TIAOSHI###背包里的抖币数",geliwu+"");
+ redEnvBean.setLivedoubinumfir(doubinum + geliwu + "");
+ Log.e("TIAOSHI###", "初始抖币数" + redEnvBean.getLivedoubinumfir());
+ AblViewUtil.mySleep(1);
+ AblViewUtil.back();
default:
}
}
- private int getdoubsi() {
- int doubinum = 0;
- AccessibilityNodeInfo root = AblService.getInstance().getRootInActiveWindow();
- for (int i = 0; i < root.getChildCount(); i++) {
- AccessibilityNodeInfo child = root.getChild(i);
- // Log.e("TIAOSHI###", "----oneNode:" + child.getClassName() + ":" + child.getText() + ":" + child.getContentDescription());
- for (int y = 0; y < child.getChildCount(); y++) {
- AccessibilityNodeInfo child1 = child.getChild(y);
- // Log.e("TIAOSHI###", "----twoNode:" + child1.getClassName() + ":" + child1.getText() + ":" + child1.getContentDescription());
- for (int j = 0; j < child1.getChildCount(); j++) {
- AccessibilityNodeInfo child2 = child1.getChild(j);
- Log.e("TIAOSHI###", "----threeNode:" + child2.getClassName() + ":" + child2.getText() + ":" + child1.getContentDescription());
- Rect rect = new Rect();
- child2.getBoundsInScreen(rect);
- if (rect.top >= 2092 && rect.bottom <= 2151) {
- if ("android.widget.TextView".equals(child2.getClassName())) {
- //(928,2092),(981,2151)
- if (child2.getText() != null) {
- String doubi = child2.getText().toString();
- Log.e("TIAOSHI###", "----抖币数:" + doubi);
- doubinum = Integer.valueOf(doubi);
-
- }
- }
- }
- }
- }
- }
- return doubinum;
- }
-
- /**
- * 发送礼物
- * @param str 礼物名称
- * @param danjia 单价
- * @param fastnum 发送个数
- */
- private void faliwu(String str,int danjia,int fastnum) {
- AblViewUtil.mySleep(2);
- int getdoubi = getdoubi();
-
- int fastdoubi = fastnum * danjia;
- if (getdoubi >= fastdoubi) {
- } else {
- fastdoubi = getdoubi;
- }
- //点开礼物
- clickmoreli();
- AblViewUtil.mySleep(1);
- //点击背包
- clickmenu("5");
- AblViewUtil.mySleep(1);
- //点击礼物
- clickmenu("1");
- AblViewUtil.mySleep(1);
- AccessibilityNodeInfo hognbaonode = geliwu(str).get(0);
- double num = fastdoubi / danjia;
- int intnum = new Double(num).intValue();
- if (intnum > 0) {
- for (int i = 0; i <= intnum; i++) {
- AblViewUtil.mySleep(1);
- clickcommonthree(hognbaonode, "");
- Log.e("TIAOSHI###", "发礼物的循环次数"+i);
- String liwutime = ProfileSpUtils.getInstance().getLiveBean().getLiwutime();
- int jiangetime = Integer.valueOf(liwutime);
- AblViewUtil.mySleep(jiangetime);
- }
- } else {
- Log.e("TIAOSHI###", "发礼物的抖币不够了");
- }
- }
- /**
- * 获得抖币
- *
- * @return
- */
- private int getdoubi() {
- int doubinum = 0;
- AccessibilityNodeInfo root = AblService.getInstance().getRootInActiveWindow();
- for (int i = 0; i < root.getChildCount(); i++) {
- AccessibilityNodeInfo child = root.getChild(i);
- // Log.e("TIAOSHI###", "----oneNode:" + child.getClassName() + ":" + child.getText() + ":" + child.getContentDescription());
- for (int y = 0; y < child.getChildCount(); y++) {
- AccessibilityNodeInfo child1 = child.getChild(y);
- // Log.e("TIAOSHI###", "----twoNode:" + child1.getClassName() + ":" + child1.getText() + ":" + child1.getContentDescription());
- for (int j = 0; j < child1.getChildCount(); j++) {
- AccessibilityNodeInfo child2 = child1.getChild(j);
- Log.e("TIAOSHI###", "----threeNode:" + child2.getClassName() + ":" + child2.getText() + ":" + child1.getContentDescription());
- if ("android.widget.TextView".equals(child2.getClassName())) {
- if (child2.getText() != null) {
- String doubi = child2.getText().toString();
- Log.e("TIAOSHI###", "----抖币数:" + doubi);
- doubinum = Integer.valueOf(doubi);
-
- }
- }
- }
- }
- }
- return doubinum;
- }
-
/**
* 点击直播间下方的更多按钮(备注:通过搜索点击直播进去的可用)
* 1.说点什么
@@ -166,8 +78,8 @@ public class TestAblStep0 extends BaseAblStep {
// Log.e("TIAOSHI###", "----oneNode:" + child.getClassName() + ":" + child.getText() + ":" + child.getContentDescription());
for (int y = 0; y < child.getChildCount(); y++) {
AccessibilityNodeInfo child1 = child.getChild(y);
- Log.e("TIAOSHI###", "----twoNode:" + child1.getClassName() + ":" + child1.getText() + ":" + child1.getContentDescription());
- nodeZuobiao(child1);
+ // Log.e("TIAOSHI###", "----twoNode:" + child1.getClassName() + ":" + child1.getText() + ":" + child1.getContentDescription());
+ // nodeZuobiao(child1);
if ("android.widget.RelativeLayout".equals(child1.getClassName())) {
if (child1.getContentDescription() != null) {
if (child1.getContentDescription().equals("礼物")) {
@@ -175,71 +87,58 @@ public class TestAblStep0 extends BaseAblStep {
}
}
}
+
}
}
}
-
- private ArrayList getrecyy() {
- ArrayList objects = new ArrayList<>();
- AccessibilityNodeInfo root = AblService.getInstance().getRootInActiveWindow();
- for (int i = 0; i < root.getChildCount(); i++) {
- AccessibilityNodeInfo child = root.getChild(i);
- Log.e("TIAOSHI###", "----oneNode:" + child.getClassName() + ":" + child.getText() + ":" + child.getContentDescription());
- for (int y = 0; y < child.getChildCount(); y++) {
- AccessibilityNodeInfo child1 = child.getChild(y);
- Log.e("TIAOSHI###", "----twoNode:" + child1.getClassName() + ":" + child1.getText() + ":" + child1.getContentDescription());
- if ("androidx.recyclerview.widget.RecyclerView".equals(child1.getClassName())) {
- objects.add(child1);
- }
- }
+ public int dangqianDoubi() {
+ int doubinumr = 0;
+ String getdoubinum = getdoubinum();
+ if (getdoubinum.equals("")) {
+ getdoubinum = "0";
}
- return objects;
+ if ("充值".equals(getdoubinum)) {
+ doubinumr = 0;
+ } else {
+ doubinumr = Integer.valueOf(getdoubinum);
+ }
+ return doubinumr;
}
-
- /**
- * 获得背包中第一个位置的了礼物
- */
- private List geliwu(String text) {
- List liwus = new ArrayList<>();
+ public String getdoubinum() {
+ String doubinum = "";
AccessibilityNodeInfo root = AblService.getInstance().getRootInActiveWindow();
- for (int i = 0; i < root.getChildCount(); i++) {
- AccessibilityNodeInfo child = root.getChild(i);
- for (int y = 0; y < child.getChildCount(); y++) {
- AccessibilityNodeInfo child1 = child.getChild(y);
- for (int j = 0; j < child1.getChildCount(); j++) {
- AccessibilityNodeInfo child2 = child1.getChild(j);
-
- Log.e("TIAOSHI###", "----threeNode:" + child2.getClassName() + ":" + child2.getText() + ":" + child1.getContentDescription());
- for (int x = 0; x < child2.getChildCount(); x++) {
- AccessibilityNodeInfo child3 = child2.getChild(x);
- Log.e("TIAOSHI###", "----fourNode:" + child3.getClassName() + ":" + child3.getText() + ":" + child1.getContentDescription());
- if (child3.getText() != null) {
- if (text.equals(child3.getText().toString())) {
- liwus.add(child2);
+ if (root != null) {
+ for (int i = 0; i < root.getChildCount(); i++) {
+ AccessibilityNodeInfo child = root.getChild(i);
+ // Log.e("TIAOSHI###", "----oneNode:" + child.getClassName() + ":" + child.getText() + ":" + child.getContentDescription());
+ //nodeZuobiao(child);
+ for (int y = 0; y < child.getChildCount(); y++) {
+ AccessibilityNodeInfo child1 = child.getChild(y);
+ // Log.e("TIAOSHI###", "----twoNode:" + child1.getClassName() + ":" + child1.getText() + ":" + child1.getContentDescription());
+ //nodeZuobiao(child1);
+ for (int j = 0; j < child1.getChildCount(); j++) {
+ AccessibilityNodeInfo child2 = child1.getChild(j);
+ Rect rect = new Rect();
+ if (child2 != null) {
+ child2.getBoundsInScreen(rect);
+ if (rect.top >= 2092 && rect.bottom <= 2151 && rect.left >= 800) {
+ // Log.e("TIAOSHI###", "----threeNode:" + child2.getClassName() + ":" + child2.getText() + ":" + child2.getContentDescription());
+ if ("android.widget.TextView".equals(child2.getClassName())) {
+ if (child2.getText() != null) {
+ String s = child2.getText().toString();
+ doubinum = s;
+ }
}
-
+ }
}
}
}
}
+ return doubinum;
}
- return liwus;
+ return "0";
+
}
-
- @RequiresApi(api = Build.VERSION_CODES.N)
- public void clickcommonthree(AccessibilityNodeInfo accessibilityNodeInfo, String s) {
- if (accessibilityNodeInfo != null) {
- Rect rect = new Rect();
- accessibilityNodeInfo.getBoundsInScreen(rect);
- AblService.getInstance().clickPoint((rect.left + rect.right) / 2, (rect.top + rect.bottom) / 2, 300);
- Log.e("TIAOSHI###", "点击" + s + "按钮");
- Log.e("TIAOSHI###", "点击" + s + "按钮" + "(" + (rect.left + rect.right) / 2 + "," + (rect.top + rect.bottom) / 2 + ")");
- } else {
- Log.e("TIAOSHI###", "没有找到" + s + "按钮");
- }
- }
-
-
/**
* 点击礼物下面的菜单
* 1.礼物
@@ -256,10 +155,10 @@ public class TestAblStep0 extends BaseAblStep {
AccessibilityNodeInfo child1 = child.getChild(y);
for (int j = 0; j < child1.getChildCount(); j++) {
AccessibilityNodeInfo child2 = child1.getChild(j);
- Log.e("TIAOSHI###", "----threeNode:" + child2.getClassName() + ":" + child2.getText() + ":" + child1.getContentDescription());
+ // Log.e("TIAOSHI###", "----threeNode:" + child2.getClassName() + ":" + child2.getText() + ":" + child1.getContentDescription());
for (int x = 0; x < child2.getChildCount(); x++) {
AccessibilityNodeInfo child3 = child2.getChild(x);
- Log.e("TIAOSHI###", "----fourNode:" + child3.getClassName() + ":" + child3.getText() + ":" + child1.getContentDescription());
+ // Log.e("TIAOSHI###", "----fourNode:" + child3.getClassName() + ":" + child3.getText() + ":" + child1.getContentDescription());
switch (type) {
case "1"://礼物
if ("android.widget.TextView".equals(child3.getClassName())) {
@@ -304,8 +203,117 @@ public class TestAblStep0 extends BaseAblStep {
}
}
}
+ /**
+ * 获得背包中第一排位置的了礼物
+ */
+ private int geliwu(String text) {
+ int doubiNum = 0;
+ ArrayList liwuBeans = new ArrayList<>();
+ ArrayList oneInfos = new ArrayList<>();
+ ArrayList twoInfos = new ArrayList<>();
+ ArrayList threeInfos = new ArrayList<>();
+ ArrayList fourInfos = new ArrayList<>();
+
+ AccessibilityNodeInfo root = AblService.getInstance().getRootInActiveWindow();
+ for (int i = 0; i < root.getChildCount(); i++) {
+ AccessibilityNodeInfo child = root.getChild(i);
+// Log.e("TIAOSHI###", "----oneNode:" + child.getClassName() + ":" + child.getText() + ":" + child.getContentDescription());
+// nodeZuobiao(child);
+ for (int y = 0; y < child.getChildCount(); y++) {
+ AccessibilityNodeInfo child1 = child.getChild(y);
+// Log.e("TIAOSHI###", "----twoNode:" + child1.getClassName() + ":" + child1.getText() + ":" + child1.getContentDescription());
+// nodeZuobiao(child1);
+ for (int j = 0; j < child1.getChildCount(); j++) {
+ AccessibilityNodeInfo child2 = child1.getChild(j);
+// Log.e("TIAOSHI###", "----threeNode:" + child2.getClassName() + ":" + child2.getText() + ":" + child2.getContentDescription());
+// nodeZuobiao(child2);
+ for (int x = 0; x < child2.getChildCount(); x++) {
+ AccessibilityNodeInfo child3 = child2.getChild(x);
+// Log.e("TIAOSHI###", "----fourNode:" + child3.getClassName() + ":" + child3.getText() + ":" + child3.getContentDescription());
+// nodeZuobiao(child3);
+
+ Rect rect = new Rect();
+ child3.getBoundsInScreen(rect);
+ if (rect.top >= 1438 && rect.bottom <= 1698 && rect.left >= 30 && rect.right <= 248) {
+
+ Log.e("TIAOSHI###", "----fourNode:" + child3.getClassName() + ":" + child3.getText() + ":" + child3.getContentDescription());
+ nodeZuobiao(child3);
+ oneInfos.add(child3);
+ }
+ if (rect.top >= 1438 && rect.bottom <= 1698 && rect.left >= 248 && rect.right <= 540) {
+
+ Log.e("TIAOSHI###", "----fourNodetwo:" + child3.getClassName() + ":" + child3.getText() + ":" + child3.getContentDescription());
+ nodeZuobiao(child3);
+ twoInfos.add(child3);
+
+ }
+ if (rect.top >= 1438 && rect.bottom <= 1698 && rect.left >= 540 && rect.right <= 810) {
+
+ Log.e("TIAOSHI###", "----fourNodehree:" + child3.getClassName() + ":" + child3.getText() + ":" + child3.getContentDescription());
+ nodeZuobiao(child3);
+ threeInfos.add(child3);
+
+ }
+ if (rect.top >= 1438 && rect.bottom <= 1698 && rect.left >= 810 && rect.right <= 1080) {
+
+ Log.e("TIAOSHI###", "----fourNodefour:" + child3.getClassName() + ":" + child3.getText() + ":" + child3.getContentDescription());
+ nodeZuobiao(child3);
+ fourInfos.add(child3);
+ }
+ }
+ }
+ }
+ }
+ addLiwuData(liwuBeans, oneInfos);
+ addLiwuData(liwuBeans, twoInfos);
+ addLiwuData(liwuBeans, threeInfos);
+ addLiwuData(liwuBeans, fourInfos);
+ Gson gson = new Gson();
+ String s1 = gson.toJson(liwuBeans);
+ Log.e("礼物的字符串", s1);//[{"login_status":"1","short_id":"xiao629972576","short_name":""}]
+ for(int j=0;j liwuBeans, ArrayList oneInfos) {
+ LiwuBean liwuBean = new LiwuBean();
+ if (oneInfos.size() > 0) {
+ String s0 = oneInfos.get(0).getText().toString();
+ liwuBean.setLiwuTime(s0);
+ String s1 = oneInfos.get(1).getText().toString();
+ liwuBean.setLiwuName(s1);
+ // String s2 = oneInfos.get(2).getText().toString();
+ if(s1.equals("大啤酒")) {
+ liwuBean.setLiwuDanjia("2");
+ }else if(s1.equals("小心心")){
+ liwuBean.setLiwuDanjia("1");
+ }else if(s1.equals("棒棒糖")){
+ liwuBean.setLiwuDanjia("9");
+ }else if(s1.equals("玫瑰")){
+ liwuBean.setLiwuDanjia("1");
+ }else {
+ liwuBean.setLiwuDanjia("0");
+ }
+ String s3 = oneInfos.get(3).getText().toString();
+ if (s3.contains(IFCONTIAN)) {
+ String substring = s3.substring(1);
+ liwusubstring = Integer.valueOf(substring);
+ Log.e("TIAOSHI###", "----礼物个数=:" + substring);
+ }
+ liwuBean.setLiwuNum(liwusubstring+"");
+ String liwuDanjia = liwuBean.getLiwuDanjia();
+ int danjia = Integer.valueOf(liwuDanjia);
+ liwuBean.setLiwuDoubi(liwusubstring*danjia+"");
+ liwuBeans.add(liwuBean);
+ }
+ }
}
diff --git a/app/src/main/java/com/fisherbone/fuzhu/step/TestAblStep34.java b/app/src/main/java/com/fisherbone/fuzhu/step/TestAblStep34.java
index c9bab4f..71a54bb 100644
--- a/app/src/main/java/com/fisherbone/fuzhu/step/TestAblStep34.java
+++ b/app/src/main/java/com/fisherbone/fuzhu/step/TestAblStep34.java
@@ -179,13 +179,16 @@ public class TestAblStep34 extends HongbaoBase implements RedEnv.RedEnvFunc, Red
Log.e("TIAOSHI###", "打开礼物");
AblViewUtil.mySleep(1);
int doubinum = dangqianDoubi();
+ Log.e("TIAOSHI###当前抖币数",doubinum+"");
+ AblViewUtil.mySleep(2);
clickmenu("5");
- AblViewUtil.mySleep(1);
+ AblViewUtil.mySleep(2);
int geliwu = geliwu("");
- Log.e("背包里的抖币数",geliwu+"");
+ Log.e("TIAOSHI###背包里的抖币数",geliwu+"");
redEnvBean.setLivedoubinumfir(doubinum + geliwu + "");
Log.e("TIAOSHI###", "初始抖币数" + redEnvBean.getLivedoubinumfir());
taskDbTj("0" + "", redEnvBean.getLivedoubinumfir());
+ AblViewUtil.mySleep(1);
AblViewUtil.back();
tagControlView("", livePosition);
AblStepHandler.sendMsg(AblSteps.STEP_254);
@@ -927,10 +930,10 @@ public class TestAblStep34 extends HongbaoBase implements RedEnv.RedEnvFunc, Red
AccessibilityNodeInfo child1 = child.getChild(y);
for (int j = 0; j < child1.getChildCount(); j++) {
AccessibilityNodeInfo child2 = child1.getChild(j);
- Log.e("TIAOSHI###", "----threeNode:" + child2.getClassName() + ":" + child2.getText() + ":" + child1.getContentDescription());
+ // Log.e("TIAOSHI###", "----threeNode:" + child2.getClassName() + ":" + child2.getText() + ":" + child1.getContentDescription());
for (int x = 0; x < child2.getChildCount(); x++) {
AccessibilityNodeInfo child3 = child2.getChild(x);
- Log.e("TIAOSHI###", "----fourNode:" + child3.getClassName() + ":" + child3.getText() + ":" + child1.getContentDescription());
+ // Log.e("TIAOSHI###", "----fourNode:" + child3.getClassName() + ":" + child3.getText() + ":" + child1.getContentDescription());
switch (type) {
case "1"://礼物
if ("android.widget.TextView".equals(child3.getClassName())) {
diff --git a/app_config.gradle b/app_config.gradle
index 310d348..996acbd 100644
--- a/app_config.gradle
+++ b/app_config.gradle
@@ -12,8 +12,8 @@ ext {
applicationId : "com.fisherbone.fuzhu",
minSdkVersion : 24,
targetSdkVersion : 29,
- versionCode : 175,
- versionName : "1.7.5",
+ versionCode : 176,
+ versionName : "1.7.6",
testInstrumentationRunner: "androidx.test.runner.AndroidJUnitRunner"
]