我正在尝试编译使用Google Play服务的程序,我收到此错误。有问题的* .png文件来自Google Play服务套餐,因此我无法对其进行更改。
如何解决这个问题?
错误:com.android.builder.internal.aapt.AaptException:无法处理文件
$servers = ".\serverlist.txt" $users = ".\userlist.txt" $outfile = ".\findings.csv" Foreach ($server in $servers) { Foreach ($user in $users) { $User = Get-ADUser -Server $server -Filter "GivenName -like '$FirstName*' -and Surname -like '$LastName*'" -properties * |select name,givenname, sn,enabled If ($User -eq $Null) {$FirstName + " " + $Lastname + "False $server"| Add-Content $outfile} Else {$FirstName + " " + $LastName + "True, $server" | Add-Content $outfile} } }
\ app \ build \ intermediates \ explosion-aar \ com.google.android.gms \ play-services-base \ 9.4.0 \ res \ drawable-tvdpi-v4 \ common_plus_signin_btn_text_light_focused.9.png进入
it 'begins with the standard header' do output = method_under_test # output is an array of Strings expect(output).to start_with( a_string_matching(/foo/), a_string_matching(/bar/) ) end
\应用\建立\中间体\ RES \合并\调试\抽拉-tvdpi-V4 \ common_plus_signin_btn_text_light_focused.9.png错误:com.android.builder.internal.aapt.AaptException:无法处理文件E:\ Viral_Patel \ viral \ Android_studio_demo \ android-page-transition-master \ android-page-transition \ app \ build \ intermediates \爆炸-aar \ com.android.support \ appcompat-v7 \ 24.2.1 \ res \ drawable-xhdpi-v4 \ abc_textfield_search_activated_mtrl_alpha.9.png到E:\ Viral_Patel \ viral \ Android_studio_demo \ android-page-transition-master \ android -page过渡\应用\构建\中间体\ RES \合并\调试\抽拉-xhdpi-V4 \ abc_textfield_search_activated_mtrl_alpha.9.png
答案 0 :(得分:0)
更改图片的文件名。 common_plus_signin_btn_text_light_focused.9
它会给你这个错误,因为文件名是太长还是无效,就好像它上面有一个点。
所以,将common_plus_signin_btn_text_light_focused.9更改为signin_light_f