android 运行乱码解决

java源文件与工程文件编码要一致。

右键点工程->properties->Resources->Text file encoding -> 选择与源文件一致。(源文件点右键看encoding;或使用notepad++打开源文件,看encoding)

发布了26 篇原创文章 · 获赞 2 · 访问量 5万+

猜你喜欢

转载自blog.csdn.net/lang999888/article/details/77092773