Record some of the problems that occurred when using AndroidStudio to access the Converged SDK (Allin) in the Mac environment

Error after build: app:processDebugManifest

	build后报错提示:app:processDebugManifest。实在无从下手,看了很多帖子,得到的结论:需要进一步显示详细信息。
	操作如下:在Terrinal终端输入:./gradlew processDebugManifest --stacktrace
	注意:我用的Mac,所以前边加上了./

gradlew is an executable file in the root directory of the project. After performing the previous operation, the terminal may prompt: -bash: gradlew command not found

	解决方案:终端中输入: sudo chmod +x gradlew   为gradlew增加可执行权限

After performing the previous operation, the terminal may prompt: env: bash\r: No such file or directory

终端输入:  vim gradlew 
移动光标到最下方输入:   set fileformat=unix
最后输入:  :wq(注意要输入冒号)退出
原文:https://stackoverflow.com/questions/29045140/env-bash-r-no-such-file-or-directory
参考:https://blog.csdn.net/u012452490/article/details/102546481?ops_request_misc=%25257B%252522request%25255Fid%252522%25253A%252522161173537816780274188697%252522%25252C%252522scm%252522%25253A%25252220140713.130102334..%252522%25257D&request_id=161173537816780274188697&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~all~baidu_landing_v2~default-1-102546481.pc_search_result_no_baidu_js&utm_term=env%253A+bash%255Cr%253A+No+such+file+or+directory

Guess you like

Origin blog.csdn.net/weixin_43396132/article/details/113360887