Android Studio中的长包名称生成错误 [英] Long package name build error in Android Studio

查看:76
本文介绍了Android Studio中的长包名称生成错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序的软件包名称很长:

The package name of my app is very long:

app.running.com.voice.and.service.song.backup.audio.run.inthe.background

这是一个B2B项目,由于它已经固定,我现在不能减少它们的软件包名称.

This is a B2B project and I can't reduce their package name now as it is already fixed.

Error:failed writing to 'D:\Google_Play\Android Studio\IndWork\Sound\Sound\app\build\generated\source\r\androidTest\debug\app\running\com\voice\and\service\song\backup\audio\run\inthe\background\test\R.java':

系统找不到指定的文件. (2).

The system cannot find the file specified. (2).

我认为必须解决这个问题.请指导.

I think there has to be a solution for this problem. Pls guide.

推荐答案

如果您使用 Windows 10 作为操作系统,并已安装周年更新(使用tuneComp的此链接来验证是否已安装周年更新),则可以按照howaGeek的本说明来执行启用长文件路径,这应该可以解决您的问题.

If you are using Windows 10 as the OS and have install the anniversary update (Use this link by tuneComp to verify if you have installed the anniversary update), then you could follow this instructions by howToGeek to enable long file path which should fix your issue.

这篇关于Android Studio中的长包名称生成错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆