Description

If the company name has a number at the beginning of it when packaging for android it returns a series of errors and does not allow the project to be built. The error that is being shown in the output log is this:

D:\TestProjects\AndroidTest\Intermediate\Android\APK\src\com\1Test\AndroidTest\AlarmReceiver.java:17: error: ';' expected
LogPlayLevel:     [javac] package com.1Test.AndroidTest;
LogPlayLevel:     [javac]            ^
LogPlayLevel:     [javac] D:\TestProjects\AndroidTest\Intermediate\Android\APK\src\com\1Test\AndroidTest\DownloaderActivity.java:17: error: ';' expected
LogPlayLevel:     [javac] package com.1Test.AndroidTest;
LogPlayLevel:     [javac]            ^
LogPlayLevel:     [javac] D:\TestProjects\AndroidTest\Intermediate\Android\APK\src\com\1Test\AndroidTest\OBBData.java:1: error: ';' expected
LogPlayLevel:     [javac] package com.1Test.AndroidTest;
LogPlayLevel:     [javac]            ^
LogPlayLevel:     [javac] D:\TestProjects\AndroidTest\Intermediate\Android\APK\src\com\1Test\AndroidTest\OBBDownloaderService.java:17: error: ';' expected
LogPlayLevel:     [javac] package com.1Test.AndroidTest;
LogPlayLevel:     [javac]            ^
LogPlayLevel:     [javac] D:\TestProjects\AndroidTest\Intermediate\Android\APK\src\com\1Test\AndroidTest\OBBDownloaderService.java:64: error: ';' expected
LogPlayLevel:     [javac]         return com.1Test.AndroidTest.AlarmReceiver.class.getName();
LogPlayLevel:     [javac]                   ^
LogPlayLevel:     [javac] D:\TestProjects\AndroidTest\Intermediate\Android\APK\src\com\epicgames\ue4\DownloadShim.java:3: error: '.' expected
LogPlayLevel:     [javac] import com.1Test.AndroidTest.OBBDownloaderService;
LogPlayLevel:     [javac]           ^
LogPlayLevel:     [javac] D:\TestProjects\AndroidTest\Intermediate\Android\APK\src\com\epicgames\ue4\DownloadShim.java:3: error: ';' expected
LogPlayLevel:     [javac] import com.1Test.AndroidTest.OBBDownloaderService;
LogPlayLevel:     [javac]             ^
LogPlayLevel:     [javac] D:\TestProjects\AndroidTest\Intermediate\Android\APK\src\com\epicgames\ue4\DownloadShim.java:3: error: class, interface, or enum expected
LogPlayLevel:     [javac] import com.1Test.AndroidTest.OBBDownloaderService;
LogPlayLevel:     [javac]                 ^
LogPlayLevel:     [javac] D:\TestProjects\AndroidTest\Intermediate\Android\APK\src\com\epicgames\ue4\DownloadShim.java:3: error: class, interface, or enum expected
LogPlayLevel:     [javac] import com.1Test.AndroidTest.OBBDownloaderService;
LogPlayLevel:     [javac]                  ^
LogPlayLevel:     [javac] D:\TestProjects\AndroidTest\Intermediate\Android\APK\src\com\epicgames\ue4\DownloadShim.java:4: error: '.' expected
LogPlayLevel:     [javac] import com.1Test.AndroidTest.DownloaderActivity;
LogPlayLevel:     [javac]           ^
LogPlayLevel:     [javac] D:\TestProjects\AndroidTest\Intermediate\Android\APK\src\com\epicgames\ue4\DownloadShim.java:4: error: ';' expected
LogPlayLevel:     [javac] import com.1Test.AndroidTest.DownloaderActivity;
LogPlayLevel:     [javac]             ^
LogPlayLevel:     [javac] D:\TestProjects\AndroidTest\Intermediate\Android\APK\src\com\epicgames\ue4\DownloadShim.java:4: error: class, interface, or enum expected
LogPlayLevel:     [javac] import com.1Test.AndroidTest.DownloaderActivity;
LogPlayLevel:     [javac]                 ^
LogPlayLevel:     [javac] D:\TestProjects\AndroidTest\Intermediate\Android\APK\src\com\epicgames\ue4\DownloadShim.java:4: error: class, interface, or enum expected
LogPlayLevel:     [javac] import com.1Test.AndroidTest.DownloaderActivity;
LogPlayLevel:     [javac]                  ^
LogPlayLevel:     [javac] D:\TestProjects\AndroidTest\Intermediate\Android\APK\gen\com\1Test\AndroidTest\BuildConfig.java:2: error: ';' expected
LogPlayLevel:     [javac] package com.1Test.AndroidTest;
LogPlayLevel:     [javac]            ^
LogPlayLevel:     [javac] D:\TestProjects\AndroidTest\Intermediate\Android\APK\gen\com\1Test\AndroidTest\R.java:8: error: ';' expected
LogPlayLevel:     [javac] package com.1Test.AndroidTest;
LogPlayLevel:     [javac]            ^
LogPlayLevel:     [javac] 15 errors

Regression:
This issue occurs in 4.13.2, 4.14.3, and 4.15.1 binary builds of the engine

Steps to Reproduce
  1. Create a new project (No template or starter content needed)
  2. Add a Cube into the viewport and save the level > Name Level "TEST"
  3. Open project settings and find the section named "Android"
  4. Configure the project for Android (Click the button that says configure now)
  5. On the option for Company name (Screenshot_01) name the company "1Test"
  6. Launch the project for Android

Have Comments or More Details?

Head over to the existing AnswerHub thread and let us know what's up.

0
Login to Vote

Fixed
ComponentPlatform - Mobile
Affects Versions4.13.24.14.34.15.1
Target Fix4.16
Fix Commit3411914
Main Commit3427032
Release Commit3411914
CreatedApr 26, 2017
ResolvedApr 27, 2017
UpdatedSep 16, 2019