在react-native项目解析android包的时候,报了个错误error: The minSdk version should not be declared in the android manifest file. 这个错误如下图所示会显示在右下角。

出现这个问题的原因是Androidstudio3.0 以后不能在manifest.xml设置这些,必须在 gradle里设置

解决方案 把manifest.xml里的sdk最小版本设置都删掉(此处参考了这篇文章https://blog.csdn.net/yuge8930/article/details/85336450,感谢这位博主)

The minSdk version should not be declared in the android manifest file.

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-11
  • 2021-07-08
  • 2021-10-22
  • 2021-07-21
  • 2021-04-13
猜你喜欢
  • 2021-08-10
  • 2021-12-08
  • 2021-09-09
  • 2021-06-18
  • 2021-06-21
  • 2021-08-29
  • 2021-06-30
相关资源
相似解决方案