Skip to content
View in the app

A better way to browse. Learn more.

FGX Native

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Сборка] После установки чистой Delphi 10.4 и при сборке Android проекта среда предлагает установить Android SDK

Featured Replies

Solved by Yaroslav Brovin

  • 3 weeks later...
32 минуты назад, Viktor Akselrod сказал:

Попробуйте в качестве теста воспользоваться любым VPN сервисом.

Поэкспериментирую конечно с vpn, но боюсь. что это не поможет.  Java уже обновил до 18 версии.

Кстати, если удалить папку .gradle и запустить сборку, то будет видно в output, что gradle таки закачивается, но не запускается

Спойлер

Build started 23.12.2022 16:08:14.
__________________________________________________
Project "C:\Users\yuris\Documents\FGX Native\Samples\PushNotification - Receive\PushNotificationDemo.dproj" (Make target(s)):
Target _PasCoreCompile:
    c:\program files (x86)\embarcadero\studio\22.0\bin\dccaarm.exe -$O- --no-config -M -Q -TX.so -AGenerics.Collections=System.Generics.Collections;Generics.Defaults=System.Generics.Defaults -DDEBUG;;FRAMEWORK_xfm -E.\Android\Debug -I"c:\program files (x86)\embarcadero\studio\22.0\lib\Android\debug";"C:\Android\FGX Native\Libs\280\Android\Debug";"c:\program files (x86)\embarcadero\studio\22.0\lib\Android\Release";"C:\Android\FGX Native\Libs\280\Android\Release";"C:\Android\FGX Native\Libs\Common\Android\Debug\armeabi-v7a" -LEC:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\Android -LNC:\Users\Public\Documents\Embarcadero\Studio\22.0\Dcp\Android -NU.\Android\Debug -NSSystem;Xml;Data;Datasnap;Web;Soap; -O"c:\program files (x86)\embarcadero\studio\22.0\lib\Android\Release";"C:\Android\FGX Native\Libs\280\Android\Release";"C:\Android\FGX Native\Libs\Common\Android\Debug\armeabi-v7a" -R"c:\program files (x86)\embarcadero\studio\22.0\lib\Android\Release";"C:\Android\FGX Native\Libs\280\Android\Release";"C:\Android\FGX Native\Libs\Common\Android\Debug\armeabi-v7a" -U"c:\program files (x86)\embarcadero\studio\22.0\lib\Android\debug";"C:\Android\FGX Native\Libs\280\Android\Debug";"c:\program files (x86)\embarcadero\studio\22.0\lib\Android\Release";"C:\Android\FGX Native\Libs\280\Android\Release";"C:\Android\FGX Native\Libs\Common\Android\Debug\armeabi-v7a" --libpath:C:\Android\NDK\android-ndk-r21\platforms\android-23\arch-arm\usr\lib;C:\Android\NDK\android-ndk-r21\sources\cxx-stl\llvm-libc++\libs\armeabi-v7a --linker:C:\Android\NDK\android-ndk-r21\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-ld.exe -V -VN -NO.\Android\Debug  PushNotificationDemo.dpr   
Build succeeded.
    0 Warning(s)
    0 Error(s)
Time Elapsed 00:00:08.56
Build started 23.12.2022 16:08:24.
__________________________________________________
Project "C:\Users\yuris\Documents\FGX Native\Samples\PushNotification - Receive\PushNotificationDemo.dproj" (Deploy target(s)):
Target _CleanRemoteDir:
    Cleaning APK Output Directory:  .\Android\Debug\PushNotificationDemo
    c:\program files (x86)\embarcadero\studio\22.0\bin\paclient.exe -u8 --Clean=".\Android\Debug\PushNotificationDemo,C:\Users\yuris\Documents\FGX Native\Samples\PushNotification - Receive\PushNotificationDemo._@emb_.tmp"  
    Platform Assistant Client  Version 13.2.11.7
    Copyright (c) 2010-2022 Embarcadero Technologies, Inc.
    
    Deleting file(s)...
    Total file(s) deleted: 1 file(s)  2 dir(s)
    Deleting file "C:\Users\yuris\Documents\FGX Native\Samples\PushNotification - Receive\PushNotificationDemo._@emb_.tmp".
Target StripAndroidLibrary:
    Creating directory "C:\Users\yuris\Documents\FGX Native\Samples\PushNotification - Receive\Android\Debug\PushNotificationDemo\debug".
    Copying file from "C:\Users\yuris\Documents\FGX Native\Samples\PushNotification - Receive\Android\Debug\libPushNotificationDemo.so" to "C:\Users\yuris\Documents\FGX Native\Samples\PushNotification - Receive\Android\Debug\PushNotificationDemo\debug\libPushNotificationDemo.so".
    c:\program files (x86)\embarcadero\studio\22.0\bin\paclient.exe -u8 --stripdebug="C:\Android\NDK\android-ndk-r21\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-strip.exe,C:\Users\yuris\Documents\FGX Native\Samples\PushNotification - Receive\Android\Debug\libPushNotificationDemo.so,C:\Users\yuris\Documents\FGX Native\Samples\PushNotification - Receive\.android-build\app\src\main\library\lib\armeabi-v7a\libPushNotificationDemo.so"  
    Platform Assistant Client  Version 13.2.11.7
    Copyright (c) 2010-2022 Embarcadero Technologies, Inc.
    
Target BuildPackage:
    gradlew app:build
    Downloading https://services.gradle.org/distributions/gradle-7.4-bin.zip
    ...........10%...........20%...........30%...........40%...........50%...........60%...........70%...........80%...........90%...........100%
    
    Welcome to Gradle 7.4!
    
    Here are the highlights of this release:
     - Aggregated test and JaCoCo reports
     - Marking additional test source directories as tests in IntelliJ
     - Support for Adoptium JDKs in Java toolchains
    
    For more details see https://docs.gradle.org/7.4/release-notes.html
    
    Starting a Gradle Daemon (subsequent builds will be faster)
    
    FAILURE: Build failed with an exception.
    
    * Where:
    Build file 'C:\Users\yuris\Documents\FGX Native\Samples\PushNotification - Receive\.android-build\build.gradle' line: 3
    
    * What went wrong:
    Plugin [id: 'com.android.application', version: '7.3.0', apply: false] was not found in any of the following sources:
    
    - Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
    - Plugin Repositories (could not resolve plugin artifact 'com.android.application:com.android.application.gradle.plugin:7.3.0')
      Searched in the following repositories:
        Gradle Central Plugin Repository
        Google
        MavenRepo
    
    * Try:
    > Run with --stacktrace option to get the stack trace.
    > Run with --info or --debug option to get more log output.
    > Run with --scan to get full insights.
    
    * Get more help at https://help.gradle.org
    
    BUILD FAILED in 34s
    C:\Android\FGX Native\MSBuild\FGX.Delphi.Android.Targets(80,5): error MSB3073: The command "gradlew app:build" exited with code 1.
Done building target "BuildPackage" in project "PushNotificationDemo.dproj" -- FAILED.
Done building project "PushNotificationDemo.dproj" -- FAILED.
Build FAILED.
C:\Android\FGX Native\MSBuild\FGX.Delphi.Android.Targets(80,5): error MSB3073: The command "gradlew app:build" exited with code 1.
    0 Warning(s)
    1 Error(s)
Time Elapsed 00:00:36.16

 

Нашел такой интересный момент, как настроить доступ  демона gradle через прокси, если блокируются IP адреса -  Accessing the web through a proxy

Теперь вопрос: А как собственно добавить эти настройки в проект FGX?

Example 22. Configuring an HTTP proxy using gradle.properties
systemProp.http.proxyHost=www.somehost.org
systemProp.http.proxyPort=8080
systemProp.http.proxyUser=userid
systemProp.http.proxyPassword=password
systemProp.http.nonProxyHosts=*.nonproxyrepos.com|localhost

 

  • Yaroslav Brovin changed the title to [Сборка] После установки чистой Delphi 10.4 и при сборке Android проекта среда предлагает установить Android SDK
  • Yaroslav Brovin locked this topic
Guest
This topic is now closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.