将Flutter App添加到F-droid时,构建管道失败

时间:2020-08-17 09:17:52

标签: android flutter open-source app-config fdroid

我是f-droid的新手。

我已按照https://nikhiljha.com/posts/flutteronfdroid/

的步骤进行操作

我的应用程序仓库是https://github.com/abhinavmarwaha/curator

我正在添加Flutter应用程序,但是构建失败。

您可以在此处找到日志:https://gitlab.com/mrabhinav/fdroiddata/-/jobs/686049890

元数据文件:

import React, { useState } from 'react';
import Layout from '../../components/layout'
import Title from '../../components/title'
import Paragraph from '../../components/paragraph'
import Modal from '../../components/modal';
import styles from './styles.module.scss';

export default function MyPage() {
    const [showModal, setModal] = useState(false);
    const toggleModal = () => setModal(!showModal);

    // ...this is what I'm not sure how to do...
    // render() { 
    //     const loadItems = {
    //       bounds: {
    //         image: `images/bounds.jpg`,
    //         image2: 'images/bounds2.jpg'
    //      },
    //      wattle: {
    //         image: `images/wattle.jpg`
    //      }
    //     }

    return (

        <main>
            <Modal visible={showModal} toggleModal={toggleModal} />

            <div className={styles.project}>
              <button onClick={toggleModal} loadItems={bounds}> Hey open bounds content </button>
            </div>

            <div className={styles.project2}>
              <button onClick={toggleModal} loadItems={wattle}> Hey open wattle content </button>
            </div>

        </main>
    )
}

显然,颤振引擎找不到该应用程序包,我不知道为什么会这样。请帮助。

0 个答案:

没有答案