(1) AndroidManifest.xmlの編集 (テキストエディタで変更)
(2)srcの中の (Eclipseの)
パッケージ名を右クリック>Refactor>Rename>で名前を変更
(3)jniがあるならxx.xx.xxxxxの部分を新しい名前に "."はアンダースコアへ
xx_xx_xxx_MainActivity_ndkOpenGLInit) ( JNIE
xx_xx_xxx_MainActivity_ndkSurfaceChanged) (
xx_xx_xxx_MainActivity_ndkOpenGLMain) ( JNIE
他の関数もこのように
clean
build
(4)Rでエラー出るならおそらくこんな >import com.hogehoge.old_game.R; >> 変更 import com.hogehoge.new_game.R;
(5)このファイルの中もテキストエディタで名前も変更
\res\values\strings.xml
(6)最後にproject名を右クリック >Refactor > Rename > project名変更
なんたらエラー
えくりぷす起動しなおし
clean
build
おわり
(4)の前でビルドせずに6まで行った方が良いと思われるが
一応手順そのままにメモ
0 件のコメント:
コメントを投稿