Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0c2a0e8

Browse files
committed
Fixed flavor error causing CI not to build
1 parent f646c09 commit 0c2a0e8

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
# Compile release apks
4444
- run:
4545
name: Compile APKs
46-
command: ./gradlew assembleRegularRelease
46+
command: ./gradlew assembleRelease
4747

4848

4949
# Copy APK files to artifacts

app/src/main/java/com/stealthcotper/networktools/MainActivity.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ public class MainActivity extends AppCompatActivity {
3636
protected void onCreate(Bundle savedInstanceState) {
3737
super.onCreate(savedInstanceState);
3838
setContentView(R.layout.activity_main);
39-
Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
39+
Toolbar toolbar = findViewById(R.id.toolbar);
4040
setSupportActionBar(toolbar);
4141

42-
resultText = (TextView) findViewById(R.id.resultText);
43-
editIpAddress = (EditText) findViewById(R.id.editIpAddress);
42+
resultText = findViewById(R.id.resultText);
43+
editIpAddress = findViewById(R.id.editIpAddress);
4444

4545
InetAddress ipAddress = IPTools.getLocalIPv4Address();
4646
if (ipAddress != null){
@@ -239,11 +239,8 @@ public void onFinished(ArrayList<Device> devicesFound) {
239239
appendResultsText("Finished "+timeTaken+" s");
240240
}
241241
});
242-
243242
}
244243

245-
246-
247244
@Override
248245
public boolean onCreateOptionsMenu(Menu menu) {
249246
MenuInflater inflater = getMenuInflater();

0 commit comments

Comments
 (0)