microsoft / appcenter-sampleapp-android Goto Github PK
View Code? Open in Web Editor NEWApp Center Sample App for Android
Home Page: https://docs.microsoft.com/en-us/appcenter/quickstarts/android/getting-started
App Center Sample App for Android
Home Page: https://docs.microsoft.com/en-us/appcenter/quickstarts/android/getting-started
This repository misses the license file.
The severity of that varies from project to project, but my goal here is to attract some attention.
If it's not a problem, this issue can be closed.
I'm leaving it here just in case: https://help.github.com/articles/adding-a-license-to-a-repository/.
Thanks.
I've been trying to obtain crashes for my Android app using appcenter's APIs. All of the APIs from https://openapi.appcenter.ms/#/ are returning zero crashes for Android, but when I use the same APIs for the iOS version, I get a whole list of crashes. Is there something I am doing wrong?
Hi,
Im just following the "Quickstart" tutorial in the documents and i come across this issue when i try to Build > Generate Signed APK.
Im running on Android Studio 3.1.2 and performed all prompted updates.
Any help would be greatly appreciated ๐
Could not find com.android.tools.lint:lint-gradle:26.1.2.
Searched in the following locations:
file:/C:/Users/xxxx/AppData/Local/Android/Sdk/extras/m2repository/com/android/tools/lint/lint-gradle/26.1.2/lint-gradle-26.1.2.pom
file:/C:/Users/xxxx/AppData/Local/Android/Sdk/extras/m2repository/com/android/tools/lint/lint-gradle/26.1.2/lint-gradle-26.1.2.jar
file:/C:/Users/xxxx/AppData/Local/Android/Sdk/extras/google/m2repository/com/android/tools/lint/lint-gradle/26.1.2/lint-gradle-26.1.2.pom
file:/C:/Users/xxxx/AppData/Local/Android/Sdk/extras/google/m2repository/com/android/tools/lint/lint-gradle/26.1.2/lint-gradle-26.1.2.jar
file:/C:/Users/xxxx/AppData/Local/Android/Sdk/extras/android/m2repository/com/android/tools/lint/lint-gradle/26.1.2/lint-gradle-26.1.2.pom
file:/C:/Users/xxxx/AppData/Local/Android/Sdk/extras/android/m2repository/com/android/tools/lint/lint-gradle/26.1.2/lint-gradle-26.1.2.jar
https://jcenter.bintray.com/com/android/tools/lint/lint-gradle/26.1.2/lint-gradle-26.1.2.pom
https://jcenter.bintray.com/com/android/tools/lint/lint-gradle/26.1.2/lint-gradle-26.1.2.jar
Required by:
project :app
Dependabot couldn't parse the Gemfile found at /Gemfile
.
The error Dependabot encountered was:
Dependabot only supports uninterpolated string arguments to eval_gemfile. Got `plugins_path`
There are important files that Microsoft projects should all have that are not present in this repository. A pull request has been opened to add the missing file(s). When the pr is merged this issue will be closed automatically.
Microsoft teams can learn more about this effort and share feedback within the open source guidance available internally.
Hello,
I am trying to run your sample on my Azure DevOps subscription.
What I did :
After doing so, I am getting the following error :
`Preparing tests... done.
Tests are ready to run. Manifest file was written to /Users/runner/work/1/a/AppCenterTest/manifest.json
/usr/local/bin/appcenter test run manifest --manifest-path /Users/runner/work/1/a/AppCenterTest/manifest.json --app-path /Users/runner/work/1/s/app/build/outputs/apk/debug/app-debug.apk --app XTCTeam/appcenter-sampleapp-android --devices ef7113b6 --test-series master --locale en_US --quiet --token ***
Preparing tests... done.
Error: API token does not belong to the requested app.
Further error details: For help, please send both the reported error above and the following environment information to us by going to https://appcenter.ms/apps and opening a support ticket (using the help menu in the upper right corner of the screen)
Environment: darwin
App Upload Id: XTCTeam/appcenter-sampleapp-android
Timestamp: 1596727482313
Operation: RunManifestTestsCommand
Exit Code: 3
##[error]Error: /usr/local/bin/appcenter failed with return code: 3
Finishing: AppCenterTest
`
Do you guys are sure that your Azure Pipeline is correct ?
In the repo it says that it has never been launched...
Thank you for your help and time.
Regards
##[error]"{"message":"API token does not belong to the requested app.","statusCode":403,"code":"Forbidden"}"
we are getting this error when trying to upload spa from azure pipeline, also please give us appropriate solution
can you please
Great you have fastlane, bad you do not show how to use it outside of the Appcenter build environment and give examples. We use CircleCI, and others use Jenkins. Since you took over Hockeyapp you should realize not all of us are going to convert to appcenter builds and eventually Appcenter is going to Azure anyway. So please give us some examples on how to use fastlane in CircleCI or Jenkins scripts!
This repository is currently missing a LICENSE file.
A license helps users understand how to use your project in a compliant manner. You can find the standard MIT license Microsoft uses at: https://github.com/microsoft/repo-templates/blob/main/shared/LICENSE.
If you would like to learn more about open source licenses, please visit the document at https://aka.ms/license (Microsoft-internal guidance).
When I am trying to run the android test, I am getting below error.
I am using below command to run:
appcenter test run espresso --app "XXXXXXX/sampleapp-android-master" --devices XXXXXXXX/testdevice" --app-path "C:\appcenteragent_work\1\s\app\build\outputs\apk\debug\app-debug.apk" --test-series "master" --locale "en_US" --build-dir "C:\appcenteragent_work\1\s\app\build\outputs\apk\androidTest\debug"
(I am trying with debug mode apk for app and androidTest)
(I've tried with release mode as well, but same error)
Something went wrong while running your tests
INSTRUMENTATION_STATUS: numtests=1
INSTRUMENTATION_STATUS: stream=
com.example.appcenter.sampleapp_android.ExampleInstrumentedTest:
INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
INSTRUMENTATION_STATUS: test=useAppContext
INSTRUMENTATION_STATUS: class=com.example.appcenter.sampleapp_android.ExampleInstrumentedTest
INSTRUMENTATION_STATUS: current=1
INSTRUMENTATION_STATUS_CODE: 1
INSTRUMENTATION_STATUS: numtests=1
INSTRUMENTATION_STATUS: stream=
Error in useAppContext(com.example.appcenter.sampleapp_android.ExampleInstrumentedTest):
org.junit.ComparisonFailure: expected:<com.example.[tina.sampleapp_android]> but was:<com.example.[appcenter.sampleapp_android.debug]>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
at com.example.appcenter.sampleapp_android.ExampleInstrumentedTest.useAppContext(ExampleInstrumentedTest.java:25)
at java.lang.reflect.Method.invoke(Native Method)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
at android.support.test.internal.runner.TestExecutor.execute(TestExecutor.java:59)
at android.support.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:262)
at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2074)
INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
INSTRUMENTATION_STATUS: test=useAppContext
INSTRUMENTATION_STATUS: class=com.example.appcenter.sampleapp_android.ExampleInstrumentedTest
INSTRUMENTATION_STATUS: stack=org.junit.ComparisonFailure: expected:<com.example.[tina.sampleapp_android]> but was:<com.example.[appcenter.sampleapp_android.debug]>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
at com.example.appcenter.sampleapp_android.ExampleInstrumentedTest.useAppContext(ExampleInstrumentedTest.java:25)
at java.lang.reflect.Method.invoke(Native Method)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
at android.support.test.internal.runner.TestExecutor.execute(TestExecutor.java:59)
at android.support.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:262)
at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2074)
INSTRUMENTATION_STATUS: current=1
INSTRUMENTATION_STATUS_CODE: -2
INSTRUMENTATION_RESULT: stream=
Time: 0.027
There was 1 failure:
FAILURES!!!
Tests run: 1, Failures: 1
INSTRUMENTATION_CODE: -1
am trying to upload a android build (.apk) file to appcenter using fastlane .
this is the fastlane code from Fastfile :
lane :deployAppCenter do
gradle(
task: "clean assembleRelease"`
)
api_token = ENV["APPCENTER_API_TOKEN"]
owner_name = ENV["APPCENTER_OWNER_NAME"]
app_name = ENV["APPCENTER_APP_NAME"]
appcenter_upload(
api_token: api_token,
owner_name: owner_name,
owner_type: "organization", # Default is user - set to organization for appcenter organizations
destinations: "", # Default is 'Collaborators', use '' for all distribution groups
app_name: app_name,
file: Actions.lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH],
mapping: Actions.lane_context[SharedValues::GRADLE_MAPPING_TXT_OUTPUT_PATH],
notify_testers: false # Set to false if you don't want to notify testers of your new release or true if you do (default: false
)
)
end
end
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in run!' 42: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.139.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in
run!'
41: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in run_active_command' 40: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in
run'
39: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in call' 38: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.139.0/fastlane/lib/fastlane/commands_generator.rb:108:in
block (2 levels) in run'
37: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.139.0/fastlane/lib/fastlane/command_line_handler.rb:36:in handle' 36: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.139.0/fastlane/lib/fastlane/lane_manager.rb:56:in
cruise_lane'
35: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.139.0/fastlane/lib/fastlane/runner.rb:45:in execute' 34: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.139.0/fastlane/lib/fastlane/runner.rb:45:in
chdir'
33: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.139.0/fastlane/lib/fastlane/runner.rb:49:in block in execute' 32: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.139.0/fastlane/lib/fastlane/lane.rb:33:in
call'
31: from Fastfile:40:in block (2 levels) in parsing_binding' 30: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.139.0/fastlane/lib/fastlane/fast_file.rb:159:in
method_missing'
29: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.139.0/fastlane/lib/fastlane/runner.rb:157:in trigger_action_by_name' 28: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.139.0/fastlane/lib/fastlane/runner.rb:227:in
execute_action'
27: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.139.0/fastlane/lib/fastlane/runner.rb:227:in chdir' 26: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.139.0/fastlane/lib/fastlane/runner.rb:235:in
block in execute_action'
25: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.139.0/fastlane/lib/fastlane/actions/actions_helper.rb:50:in execute_action' 24: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.139.0/fastlane/lib/fastlane/runner.rb:256:in
block (2 levels) in execute_action'
23: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-plugin-appcenter-1.7.1/lib/fastlane/plugin/appcenter/actions/appcenter_upload_action.rb:288:in run' 22: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-plugin-appcenter-1.7.1/lib/fastlane/plugin/appcenter/actions/appcenter_upload_action.rb:254:in
get_or_create_app'
21: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-plugin-appcenter-1.7.1/lib/fastlane/plugin/appcenter/helper/appcenter_helper.rb:424:in get_app' 20: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/faraday-0.17.3/lib/faraday/connection.rb:138:in
get'
19: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/faraday-0.17.3/lib/faraday/connection.rb:387:in run_request' 18: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/faraday-0.17.3/lib/faraday/rack_builder.rb:143:in
build_response'
17: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/faraday_middleware-0.13.1/lib/faraday_middleware/request/encode_json.rb:24:in call' 16: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/faraday_middleware-0.13.1/lib/faraday_middleware/response_middleware.rb:31:in
call'
15: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/faraday_middleware-0.13.1/lib/faraday_middleware/response/follow_redirects.rb:75:in call' 14: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/faraday_middleware-0.13.1/lib/faraday_middleware/response/follow_redirects.rb:87:in
perform_with_redirection'
13: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/faraday-nter_helper.rb:424:in get_app' 19: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/faraday-0.17.3/lib/faraday/connection.rb:138:in
get'
18: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/faraday-0.17.3/lib/faraday/connection.rb:387:in run_request' 17: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/faraday-0.17.3/lib/faraday/rack_builder.rb:143:in
build_response'
16: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/faraday_middleware-0.13.1/lib/faraday_middleware/request/encode_json.rb:24:in call' 15: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/faraday_middleware-0.13.1/lib/faraday_middleware/response_middleware.rb:31:in
call'
14: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/faraday_middleware-0.13.1/lib/faraday_middleware/response/follow_redirects.rb:75:in call' 13: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/faraday_middleware-0.13.1/lib/faraday_middleware/response/follow_redirects.rb:87:in
perform_with_redirection'
12: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/faraday-0.17.3/lib/faraday/adapter/net_http.rb:38:in call' 11: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/faraday-0.17.3/lib/faraday/adapter/net_http.rb:92:in
with_net_http_connection'
10: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/faraday-0.17.3/lib/faraday/adapter/net_http.rb:43:in block in call' 9: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/faraday-0.17.3/lib/faraday/adapter/net_http.rb:85:in
perform_request'
8: from C:/Ruby26-x64/lib/ruby/2.6.0/net/http.rb:1228:in get' 7: from C:/Ruby26-x64/lib/ruby/2.6.0/net/http.rb:1470:in
request'
6: from C:/Ruby26-x64/lib/ruby/2.6.0/net/http.rb:919:in start' 5: from C:/Ruby26-x64/lib/ruby/2.6.0/net/http.rb:930:in
do_start'
4: from C:/Ruby26-x64/lib/ruby/2.6.0/net/http.rb:945:in connect' 3: from C:/Ruby26-x64/lib/ruby/2.6.0/timeout.rb:103:in
timeout'
2: from C:/Ruby26-x64/lib/ruby/2.6.0/timeout.rb:93:in block in timeout' 1: from C:/Ruby26-x64/lib/ruby/2.6.0/net/http.rb:946:in
block in connect'
C:/Ruby26-x64/lib/ruby/2.6.0/net/http.rb:949:in rescue in block in connect': Failed to open TCP connection to api.appcenter.ms:443 (No connection could be made because the target machine actively refused it. - connect(2) for "api.appcenter.ms" port 443) (Errno::ECONNREFUSED) 48: from C:/Ruby26-x64/bin/fastlane:23:in
load' 46: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.139.0/bin/fastlane:23:in
<top (required)>'take_off' 44: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.139.0/fastlane/lib/fastlane/commands_generator.rb:41:in
start'run' 42: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in
run!'run!' 40: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in
run_active_command'run' 38: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in
call'block (2 levels) in run' 36: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.139.0/fastlane/lib/fastlane/command_line_handler.rb:36:in
handle'cruise_lane' 34: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.139.0/fastlane/lib/fastlane/runner.rb:45:in
execute'chdir' 32: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.139.0/fastlane/lib/fastlane/runner.rb:49:in
block in execute'call' 30: from Fastfile:40:in
block (2 levels) in parsing_binding'method_missing' 28: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.139.0/fastlane/lib/fastlane/runner.rb:157:in
trigger_action_by_name'execute_action' 26: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.139.0/fastlane/lib/fastlane/runner.rb:227:in
chdir'block in execute_action' 24: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-2.139.0/fastlane/lib/fastlane/actions/actions_helper.rb:50:in
execute_action'block (2 levels) in execute_action' 22: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-plugin-appcenter-1.7.1/lib/fastlane/plugin/appcenter/actions/appcenter_upload_action.rb:288:in
run'get_or_create_app' 20: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/fastlane-plugin-appcenter-1.7.1/lib/fastlane/plugin/appcenter/helper/appcenter_helper.rb:424:in
get_app'get' 18: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/faraday-0.17.3/lib/faraday/connection.rb:387:in
run_request'build_response' 16: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/faraday_middleware-0.13.1/lib/faraday_middleware/request/encode_json.rb:24:in
call'call' 14: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/faraday_middleware-0.13.1/lib/faraday_middleware/response/follow_redirects.rb:75:in
call'perform_with_redirection' 12: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/faraday-0.17.3/lib/faraday/adapter/net_http.rb:38:in
call'with_net_http_connection' 10: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/faraday-0.17.3/lib/faraday/adapter/net_http.rb:43:in
block in call'perform_request' 8: from C:/Ruby26-x64/lib/ruby/2.6.0/net/http.rb:1228:in
get'request' 6: from C:/Ruby26-x64/lib/ruby/2.6.0/net/http.rb:919:in
start'do_start' 4: from C:/Ruby26-x64/lib/ruby/2.6.0/net/http.rb:945:in
connect'timeout' 2: from C:/Ruby26-x64/lib/ruby/2.6.0/timeout.rb:93:in
block in timeout'block in connect' C:/Ruby26-x64/lib/ruby/2.6.0/net/http.rb:949:in
rescue in block in connect': [!] Failed to open TCP connection to api.appcenter.ms:443 (No connection could be made because the target machine actively refused it. - connect(2) for "api.appcenter.ms" port 443) (Faraday::ConnectionFailed)Followed the tutorial at
https://docs.microsoft.com/en-us/appcenter/sdk/getting-started/android
When I try to run the app I get the following error.
javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
The website it is trying to reach is https://in.appcenter.ms/logs?api-version=1.0.0
I am running the app on emulator with Android 11. I see that when the app runs on api<21 people have run into this problem.
Also microsoft wouldnt be using an ssl certificate , so why does my app throw the above error.
I have already successfully run:
gradlew assembleDebug
gradlew assembleDebugAndroidTest
I am coming across the following error when i try and run the following command:
appcenter test run espresso --app "erdanis/PoCAndroid" --devices e1c5de03 --app-path C:\Users\erdanis\source\repos\PoC-Android\app\build\outputs\apk\debug\app-debug.apk --test-series "master" --locale "en_US" --build-dir C:\Users\erdanis\source\repos\PoC-Android\app\build\outputs\apk\androidTest\debug
Error: test apk does not include Test-Cloud Espresso extension, see https://github.com/Microsoft/AppCenter-Test-Espresso-Extensions for instructions on how to include it
The issue seems to be with this file: C:\Users\erdanis\source\repos\PoC-Android\app\src\androidTest\java\com\example\appcenter\sampleapp_android\ExampleInstrumentedTest.java
mahintalecom 5
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.