Small icon indicating copy to clipboard operation
Small copied to clipboard

不支持AndroidAnnotations

Open leonchen83 opened this issue 8 years ago • 1 comments

  • [x] 我已阅读并理解 贡献指南,严格遵循其约定。

错误报告

你做了什么?

在项目中集成androidannotations

@EActivity(R.layout.activity_main)
public class MainActivity extends AppCompatActivity {

    @Override
    protected void onStart() {
        super.onStart();
        Car car = new Car();
    }
}

你期望的结果是什么?

androidannotations在Small中重定向到MainActivity_.

实际结果是什么?

不支持androidannotations

Compile-time

  gradle-small plugin : 1.3.0-beta2
  small aar :1.3.0-beta2

定位原因

net.wequick.small.Bundle类写死了跳转DEFAULT_ENTRANCE_ACTIVITY为MainActivity

leonchen83 avatar Sep 20 '17 04:09 leonchen83

要修改默认跳转,可配置 bundle.json :

"rules": {
  "": "YourDefaultEntranceActivity"
}

galenlin avatar Sep 20 '17 12:09 galenlin